mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
* src/gram.h, src/gram.c (pure_parser, glr_parser): Move to...
* src/getargs.c, src/getargs.h: here, as bool, not int. (nondeterministic_parser): New. * src/parse-gram.y, src/scan-gram.l: Support %nondeterministic-parser. * src/output.c (prepare): Use nondeterministic_parser instead of glr_parser where appropriate. * src/tables.c (conflict_row, action_row, save_row) (token_actions, token_actions, pack_vector): Ditto.
This commit is contained in:
11
src/gram.h
11
src/gram.h
@@ -231,17 +231,6 @@ extern int max_user_token_number;
|
||||
|
||||
|
||||
|
||||
/* GLR_PARSER is nonzero if the input file says to use the GLR
|
||||
(Generalized LR) parser, and to output some additional
|
||||
information used by the GLR algorithm. */
|
||||
|
||||
extern int glr_parser;
|
||||
|
||||
/* PURE_PARSER is nonzero if should generate a parser that is all pure
|
||||
and reentrant. */
|
||||
|
||||
extern int pure_parser;
|
||||
|
||||
/* Dump RITEM for traces. */
|
||||
void ritem_print (FILE *out);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user