From: Joel E. Denny Date: Mon, 6 Apr 2009 21:35:41 +0000 (-0400) Subject: * NEWS (2.5): New section. Describe new -D/--define feature. X-Git-Tag: v2.7.90~905 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/50cca368254281dccdfbb3ff6feaaa69760069d3 * NEWS (2.5): New section. Describe new -D/--define feature. --- diff --git a/ChangeLog b/ChangeLog index 2d5aa44b..76146450 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-04-06 Joel E. Denny + + * NEWS (2.5): New section. Describe new -D/--define feature. + 2009-04-06 Akim Demaille Regen. @@ -40,7 +44,7 @@ muscle: factor the handling of obsolete of obsolete directives. Suggested by Joel E. Denny. - + * src/muscle_tab.h, src/muscle_tab.c (muscle_percent_define_ensure): New, extracted from... * src/parse-gram.y (prologue_declaration: pure-parser): here. diff --git a/NEWS b/NEWS index 2de1a5de..b436896f 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,22 @@ Bison News Also, it is possible to add code to the parser's constructors using "%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.1 (2008-12-11):