* 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:
Joel E. Denny
2007-03-01 03:40:18 +00:00
parent d3b129885f
commit 0bf9249152
4 changed files with 138 additions and 196 deletions

View File

@@ -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 */