* 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

@@ -1,5 +1,5 @@
/* Grammar reduction for Bison.
Copyright 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
@@ -26,4 +26,5 @@ void reduce_output PARAMS ((FILE *out));
void reduce_free PARAMS ((void));
extern int nuseless_nonterminals;
extern int nuseless_productions;
#endif /* !REDUCE_H_ */