From: Joel E. Denny Date: Sat, 26 May 2007 20:08:18 +0000 (+0000) Subject: * NEWS (2.3a+): In the %code entry, reference section `Bison X-Git-Tag: v2.3b~124 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/61fee93ecb2150b71cc5bea930e3e122085d0f00?hp=0c650a2027a0d664e1e4f40b3d34e4c1b410277b * NEWS (2.3a+): In the %code entry, reference section `Bison Declaration Summary' from the manual now since the %code summary has moved there. * doc/bison.texinfo (Prologue Alternatives): Mention that directives in the rules section must be terminated by semicolons. --- diff --git a/ChangeLog b/ChangeLog index c0caf03f..6eeb9d4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,12 @@ . * THANKS: Add Frans Englich. + * NEWS (2.3a+): In the %code entry, reference section `Bison + Declaration Summary' from the manual now since the %code summary has + moved there. + * doc/bison.texinfo (Prologue Alternatives): Mention that directives + in the rules section must be terminated by semicolons. + 2007-05-20 Joel E. Denny Extend the front-end API for %define variables to more completely diff --git a/NEWS b/NEWS index 854023cc..e5ff7976 100644 --- a/NEWS +++ b/NEWS @@ -51,8 +51,8 @@ Changes in version 2.3a+ (????-??-??): 3. `%code provides {CODE}' replaces `%end-header {CODE}' 4. `%code top {CODE}' replaces `%before-header {CODE}' - See the %code entries in `Appendix A Bison Symbols' in the Bison manual for a - summary of the new functionality. See the new section `Prologue + See the %code entries in section `Bison Declaration Summary' in the Bison + manual for a summary of the new functionality. See the new section `Prologue Alternatives' for a detailed discussion including the advantages of %code over the traditional Yacc prologues. diff --git a/doc/bison.texinfo b/doc/bison.texinfo index c344ec73..55a7759a 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -2956,6 +2956,8 @@ type: You could even place each of the above directive groups in the rules section of the grammar file next to the set of rules that uses the associated semantic type. +(In the rules section, you must terminate each of those directives with a +semicolon.) And you don't have to worry that some directive (like a @code{%union}) in the definitions section is going to adversely affect their functionality in some counter-intuitive manner just because it comes first.