mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
* src/print.c (lookahead_set, state_default_rule): Remove.
(print_reductions): Replace state_default_rule invocation with equivalent use of yydefact, which was computed in token_actions in tables.c. (print_results): Don't allocate lookahead_set.
This commit is contained in:
@@ -167,7 +167,7 @@ typedef union YYSTYPE
|
||||
{
|
||||
|
||||
/* Line 1537 of yacc.c */
|
||||
#line 97 "../../src/parse-gram.y"
|
||||
#line 97 "parse-gram.y"
|
||||
|
||||
symbol *symbol;
|
||||
symbol_list *list;
|
||||
@@ -181,7 +181,7 @@ typedef union YYSTYPE
|
||||
|
||||
|
||||
/* Line 1537 of yacc.c */
|
||||
#line 185 "../../src/parse-gram.h"
|
||||
#line 185 "parse-gram.h"
|
||||
} YYSTYPE;
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
|
||||
Reference in New Issue
Block a user