124 |
|
|
125 |
typedef struct rule_s |
typedef struct rule_s |
126 |
{ |
{ |
127 |
|
/* The number of the rule in the source. It is usually the index in |
128 |
|
RULES too, except if there are useless rules. */ |
129 |
|
short number; |
130 |
|
|
131 |
short lhs; |
short lhs; |
132 |
short *rhs; |
short *rhs; |
133 |
short prec; |
short prec; |
170 |
|
|
171 |
extern int error_token_number; |
extern int error_token_number; |
172 |
|
|
173 |
|
/* Report the length of the RHS. */ |
174 |
|
int rule_rhs_length PARAMS ((rule_t *rule)); |
175 |
|
|
176 |
/* Dump RITEM for traces. */ |
/* Dump RITEM for traces. */ |
177 |
void ritem_print PARAMS ((FILE *out)); |
void ritem_print PARAMS ((FILE *out)); |