]> git.saurik.com Git - bison.git/commit - src/main.c
Convert underscores to dashes in some %define variable names.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 30 Apr 2009 05:04:33 +0000 (01:04 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 30 Apr 2009 07:43:58 +0000 (03:43 -0400)
commit6721294104e47dd932e755d4d5352407859a4663
tree613790bc20bc1fe7049f97488c68ea3ffaec077d
parentba5c6d94b602e77be718705fdb70aed255d41e6a
Convert underscores to dashes in some %define variable names.

For now, just api.push-pull and lr.keep-unreachable-states.
Maintain old names for backward compatibility.
* NEWS (2.5): Document.
* data/c.m4 (b4_identification): Update comment.
* data/yacc.c: Update access.
* doc/bison.texinfo: Update.
* etc/bench.pl.in (bench_push_parser): Update use.
* src/files.c (tr): Move to...
* src/getargs.c, src/getargs.h (tr): ... here because I can't
think of a better place to expose it.  My logic is that, for all
uses of tr so far, command-line arguments can be involved, and
getargs.h is already included.
* src/main.c (main): Update access.
* src/muscle_tab.c (muscle_percent_define_insert): Convert old
variable names to new variable names before assigning value.
* src/reader.c (reader): Update setting default.
* tests/calc.at: Update uses.
* tests/conflicts.at (Unreachable States After Conflict
Resolution): Update use.
* tests/input.at (%define enum variables): Update use.
(%define backward compatibility): New test group.
* tests/push.at: Update uses.
* tests/reduce.at: Update uses.
* tests/torture.at: Update uses.
(cherry picked from commit 812775a0391e122eff1983afea2da96c600c7307)

Conflicts:

data/c.m4
etc/bench.pl.in
src/parse-gram.c
src/parse-gram.h
tests/conflicts.at
20 files changed:
ChangeLog
NEWS
data/c.m4
data/yacc.c
doc/bison.texinfo
etc/bench.pl.in
src/files.c
src/getargs.c
src/getargs.h
src/main.c
src/muscle-tab.c
src/parse-gram.c
src/parse-gram.h
src/reader.c
tests/calc.at
tests/conflicts.at
tests/input.at
tests/push.at
tests/reduce.at
tests/torture.at