]> git.saurik.com Git - bison.git/commit
* data/Makefile.am (dist_pkgdata_DATA): Add push.c.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Sep 2006 15:56:26 +0000 (15:56 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Sep 2006 15:56:26 +0000 (15:56 +0000)
commit31c10e38dbf21a29af558c6f5144acd22dbc956e
treed9509b836ffef19ffc46216d124eb012c43e86d3
parent21fe08cadcb84fddd5038ac6857a904dbe1ad885
* data/Makefile.am (dist_pkgdata_DATA): Add push.c.
* data/c.m4 (YYPUSH): New.
(b4_push_if): New macro.  Use it instead of #ifdef YYPUSH.
* src/getargs.c (push_parser): New var.
* src/getargs.h (push_parser): New declaration.
* src/output.c (prepare): Add macro insertion of `push_flag'.
* src/parse-gram.y (PERCENT_PUSH_PARSER): New token.
(prologue_declaration): Parse %push-parser.
* src/scan-gram.l: Scan new PERCENT_PUSH_PARSER token.
* tests/calc.at (_AT_CHECK_CALC_ERROR): Add "Return" and "Now" to
list of removed lines from the traces observed.
(AT_CHECK_CALC_LALR): Added push parser tests.
ChangeLog
data/Makefile.am
data/c.m4
data/push.c [new file with mode: 0644]
src/getargs.c
src/getargs.h
src/output.c
src/parse-gram.y
src/scan-gram.l
tests/calc.at