mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
* NEWS (2.5): New section. Describe new -D/--define feature.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2009-04-06 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||||
|
|
||||||
|
* NEWS (2.5): New section. Describe new -D/--define feature.
|
||||||
|
|
||||||
2009-04-06 Akim Demaille <demaille@gostai.com>
|
2009-04-06 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
Regen.
|
Regen.
|
||||||
@@ -40,7 +44,7 @@
|
|||||||
|
|
||||||
muscle: factor the handling of obsolete of obsolete directives.
|
muscle: factor the handling of obsolete of obsolete directives.
|
||||||
Suggested by Joel E. Denny.
|
Suggested by Joel E. Denny.
|
||||||
|
|
||||||
* src/muscle_tab.h, src/muscle_tab.c (muscle_percent_define_ensure):
|
* src/muscle_tab.h, src/muscle_tab.c (muscle_percent_define_ensure):
|
||||||
New, extracted from...
|
New, extracted from...
|
||||||
* src/parse-gram.y (prologue_declaration: pure-parser): here.
|
* src/parse-gram.y (prologue_declaration: pure-parser): here.
|
||||||
|
|||||||
16
NEWS
16
NEWS
@@ -9,6 +9,22 @@ Bison News
|
|||||||
Also, it is possible to add code to the parser's constructors using
|
Also, it is possible to add code to the parser's constructors using
|
||||||
"%code init" and "%define init_throws".
|
"%code init" and "%define init_throws".
|
||||||
|
|
||||||
|
* Changes in version 2.5 (????-??-??):
|
||||||
|
|
||||||
|
** %define can now be invoked via the command line.
|
||||||
|
|
||||||
|
Each of these bison command-line options
|
||||||
|
|
||||||
|
-D NAME=VALUE
|
||||||
|
--define=NAME=VALUE
|
||||||
|
|
||||||
|
is equivalent to this grammar file declaration
|
||||||
|
|
||||||
|
%define NAME "VALUE"
|
||||||
|
|
||||||
|
for any NAME and VALUE. Omitting `=VALUE' on the command line is
|
||||||
|
equivalent to omitting `"VALUE"' in the declaration.
|
||||||
|
|
||||||
* Changes in version 2.4.2 (????-??-??):
|
* Changes in version 2.4.2 (????-??-??):
|
||||||
|
|
||||||
* Changes in version 2.4.1 (2008-12-11):
|
* Changes in version 2.4.1 (2008-12-11):
|
||||||
|
|||||||
Reference in New Issue
Block a user