long ic1, ic2;
int A_used = 0;
int tclass;
+ int tp_index[2];
char *str;
}
:
* integer_const.
* Upperbound -1 means unsigned int or unsigned long.
*/
- 'r' type_name(&t1, (p_symbol) 0) ';'
+ 'r' type_index(tp_index) ';'
[ 'A' integer_const(&ic1) { A_used = 1; }
| integer_const(&ic1)
]
]
{ if (tp != *ptp) free_type(tp);
tp = subrange_type(A_used,
- last_index,
+ tp_index,
ic1,
ic2,
type_index);