Mention the trailing semicolon in action.

* NEWS: Mention the trailing semicolon in action.
This commit is contained in:
Akim Demaille
2008-11-04 22:26:39 +01:00
parent d6fb461dd8
commit 738cde3e93
2 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2008-11-04 Akim Demaille <demaille@gostai.com>
* NEWS: Mention the trailing semicolon in action.
2008-11-04 Akim Demaille <demaille@gostai.com>
Reformat NEWS.

17
NEWS
View File

@@ -3,7 +3,22 @@ Bison News
* Changes in version ?.? (????-??-??):
**
** Temporary hack for adding a semicolon to the user action.
Bison used to prepend a trailing semicolon at the end of the user
action for reductions. This allowed actions such as
exp: exp "+" exp { $$ = $1 + $3 };
instead of
exp: exp "+" exp { $$ = $1 + $3; };
This prevents the future support for languages than do not use `;'
as C/C++/Java do. Yet some grammars still depend on this `feature'.
Bison 2.4.1 restores the previous behavior to leave more time for
grammars depending on the old behavior to be adjusted. Future
release of Bison will disable this feature.
* Changes in version 2.4 (2008-11-02):