From 50cca368254281dccdfbb3ff6feaaa69760069d3 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Mon, 6 Apr 2009 17:35:41 -0400 Subject: [PATCH] * NEWS (2.5): New section. Describe new -D/--define feature. --- ChangeLog | 6 +++++- NEWS | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) 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): -- 2.47.2