diff options
author | Joel E. Denny <jdenny@ces.clemson.edu> | 2006-12-17 01:33:31 +0000 |
---|---|---|
committer | Joel E. Denny <jdenny@ces.clemson.edu> | 2006-12-17 01:33:31 +0000 |
commit | 791934e4b5692dabefdee2ca948ade8afc3684ce (patch) | |
tree | b06cbe79fd5e692f0634b3df77203a6ad83102bc /build-aux | |
parent | ee5abb379bc118339852b742fea1ca1c8fce7706 (diff) | |
download | bison-791934e4b5692dabefdee2ca948ade8afc3684ce.tar.gz |
Make %push-parser imply %pure-parser. This fixes several bugs; see
<http://lists.gnu.org/archive/html/bison-patches/2006-12/msg00148.html>.
* src/parse-gram.y (prologue_declaration): For %push-parser, also set
pure_parser = true.
* data/push.c: Don't bother testing b4_push_if when deciding whether
to expand b4_declare_parser_variables globally.
(yypush_parse): Likewise in here.
* data/push.c (yypush_parse): Add b4_parse_param to arguments.
(yy_reduce_print): Reformat M4 for readability.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions