* data/bison.simple (yyparse): Do not implement @$ = @1.

(YYLLOC_DEFAULT): Adjust to do it.
* doc/bison.texinfo (Location Default Action): Fix.
This commit is contained in:
Akim Demaille
2002-05-02 16:40:54 +00:00
parent 3a8b410924
commit b2d52318fa
4 changed files with 25 additions and 23 deletions

8
NEWS
View File

@@ -43,9 +43,11 @@ Changes in version 1.49b:
* Revert the C++ namespace changes introduced in 1.31, as they caused too
many portability hassles.
* Items overflow
Bison no longer dumps core when there are too many items, it just
dies.
* Default locations
By an accident of design, the default computation of @$ was
performed after another default computation was performed: @$ = @1.
The latter is now removed: YYLLOC_DEFAULT is fully responsible of
the computation of @$.
* Token end-of-file
The token end of file may be specified by the user, in which case,