* src/gram.c, src/gram.h (ritem_print): New.

* src/gram.c (dummy): Remove, now there is actual code in gram.c.
(This useless function was defined only to work around VMS linkers
that can't handle compilation units with variables only).
* src/reduce.c (dump_grammar): Use it to trace the construction of
ritem.
This commit is contained in:
Akim Demaille
2001-12-05 09:16:07 +00:00
parent cc904af579
commit 2dfb4daf9b
14 changed files with 65 additions and 39 deletions

View File

@@ -147,4 +147,8 @@ extern int pure_parser;
/* ERROR_TOKEN_NUMBER is the token number of the error token. */
extern int error_token_number;
/* Dump RITEM for traces. */
void ritem_print (FILE *out);
#endif /* !GRAM_H_ */