mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
* 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.
This commit is contained in:
@@ -9,6 +9,12 @@
|
|||||||
<http://lists.gnu.org/archive/html/help-bison/2007-05/msg00018.html>.
|
<http://lists.gnu.org/archive/html/help-bison/2007-05/msg00018.html>.
|
||||||
* THANKS: Add Frans Englich.
|
* 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 <jdenny@ces.clemson.edu>
|
2007-05-20 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||||
|
|
||||||
Extend the front-end API for %define variables to more completely
|
Extend the front-end API for %define variables to more completely
|
||||||
|
|||||||
4
NEWS
4
NEWS
@@ -51,8 +51,8 @@ Changes in version 2.3a+ (????-??-??):
|
|||||||
3. `%code provides {CODE}' replaces `%end-header {CODE}'
|
3. `%code provides {CODE}' replaces `%end-header {CODE}'
|
||||||
4. `%code top {CODE}' replaces `%before-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
|
See the %code entries in section `Bison Declaration Summary' in the Bison
|
||||||
summary of the new functionality. See the new section `Prologue
|
manual for a summary of the new functionality. See the new section `Prologue
|
||||||
Alternatives' for a detailed discussion including the advantages of %code
|
Alternatives' for a detailed discussion including the advantages of %code
|
||||||
over the traditional Yacc prologues.
|
over the traditional Yacc prologues.
|
||||||
|
|
||||||
|
|||||||
@@ -2956,6 +2956,8 @@ type:
|
|||||||
You could even place each of the above directive groups in the rules section of
|
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
|
the grammar file next to the set of rules that uses the associated semantic
|
||||||
type.
|
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
|
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
|
definitions section is going to adversely affect their functionality in some
|
||||||
counter-intuitive manner just because it comes first.
|
counter-intuitive manner just because it comes first.
|
||||||
|
|||||||
Reference in New Issue
Block a user