* src/reader.c (copy_action): When --yacc, don't append a `;'

to the user action: let it fail if lacking.
Suggested by Aharon Robbins and Tom Tromey.
This commit is contained in:
Akim Demaille
2001-12-15 11:07:56 +00:00
parent 21292982fe
commit 52e9776027
4 changed files with 20 additions and 1 deletions

5
NEWS
View File

@@ -3,6 +3,11 @@ Bison News
Changes in version 1.30h:
* User Actions
Bison has always permitted actions such as { $$ = $1 }: it adds the
ending semicolon. Now if in Yacc compatibility mode, the semicolon
is no longer output: one has to write { $$ = $1; }.
Changes in version 1.30g:
* Bug fixes