mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
lalr: more debug traces
I need to be able to read includes and goto_follows. * src/relation.h, src/relation.c (relation_print): Provide a means to pretty-print the nodes of the relation. * src/lalr.c (goto_print, follows_print): New. (set_goto_map): Use goto_print. (build_relations): Show INCLUDES. (compute_FOLLOWS): Rename as... (compute_follows): this. Show FOLLOWS.
This commit is contained in:
@@ -102,5 +102,4 @@ goto_number map_goto (state_number src, symbol_number sym);
|
||||
/* goto_follows[i] is the set of tokens following goto i. */
|
||||
extern bitsetv goto_follows;
|
||||
|
||||
|
||||
#endif /* !LALR_H_ */
|
||||
|
||||
Reference in New Issue
Block a user