]> git.saurik.com Git - bison.git/commit - ChangeLog
parser: handle %locations as %define locations.
authorAkim Demaille <demaille@gostai.com>
Sun, 5 Apr 2009 20:05:08 +0000 (22:05 +0200)
committerAkim Demaille <demaille@gostai.com>
Mon, 6 Apr 2009 11:24:47 +0000 (13:24 +0200)
commitbc0f573730251da15be0e545f393d589538d6bfa
tree3f02702b85b044c73d63100c76c1771fd6242a96
parent697c912fa481306891adb2d0737def95b8545097
parser: handle %locations as %define locations.

* src/getargs.h, src/getargs.c (locations_flag): Remove.
* src/getargs.c, src/scan-code.l: Use muscle_percent_define_ensure
to set "locations" to true.
* src/output.c (prepare): Don't output "locations".
* src/scan-gram.l (%locations): Handle it as a %<flag>.
* src/parse-gram.y: It's no longer a token.
Don't handle it.
* data/bison.m4 (b4_locations_if): Define it with
b4_percent_define_if_define.
* data/c.m4, data/glr.cc: Adjust.
ChangeLog
data/bison.m4
data/c.m4
data/glr.cc
src/getargs.c
src/getargs.h
src/output.c
src/parse-gram.y
src/scan-code.l
src/scan-gram.l