* src/reduce.c (dump_grammar): Move to...

* src/gram.h, src/gram.c (grammar_dump): here.
Be sure to separate long item numbers.
Don't read the members of a rule's prec if its nil.
This commit is contained in:
Akim Demaille
2002-04-22 08:23:07 +00:00
parent 133c20e252
commit 78ab8f674f
5 changed files with 74 additions and 55 deletions

View File

@@ -186,4 +186,7 @@ void ritem_print PARAMS ((FILE *out));
/* Return the size of the longest rule RHS. */
size_t ritem_longest_rhs PARAMS ((void));
/* Dump the grammar. */
void grammar_dump PARAMS ((FILE *out, const char *title));
#endif /* !GRAM_H_ */