]> git.saurik.com Git - bison.git/commit - src/getargs.c
-D, --define.
authorAkim Demaille <demaille@gostai.com>
Tue, 29 Jul 2008 10:52:19 +0000 (12:52 +0200)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Mon, 6 Apr 2009 08:28:50 +0000 (04:28 -0400)
commite14c68313b82fa4b2f2fd8df5937e3945b488b04
treeb1765b4755eb178ac5ae316b63a2fea0bcbf2f52
parent75c21b618d2ee31e72f7b78b4a03d400514e433f
-D, --define.

* src/getargs.c (usage): Document -D.
Fix help string for --locations.
(command_line_location): New.
(short_options, long_options, getargs): Support -D, --define.
(getargs): Move -d support at the right place.
* doc/bison.texinfo (Bison Options): Update.
* tests/input.at (%define, --define): New.
(cherry picked from commit 58697c6d89f2db69aa2321fe92fc388f87bf2a3c)
ChangeLog
doc/bison.texinfo
src/getargs.c
tests/input.at