mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/yacc.c (YY_LOCATION_PRINT): Use YYLTYPE_IS_TRIVIAL as a
clearer criterion to define it. (parse): Initialize the initial location when YYLTYPE_IS_TRIVIAL. When reducing on an empty RHS, use the latest stacked location as location. yylloc is not always available. * data/glr.c: Likewise. Also, honor initial-actions.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2004-09-20 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* data/yacc.c (YY_LOCATION_PRINT): Use YYLTYPE_IS_TRIVIAL as a
|
||||
clearer criterion to define it.
|
||||
(parse): Initialize the initial location when YYLTYPE_IS_TRIVIAL.
|
||||
When reducing on an empty RHS, use the latest stacked location as
|
||||
location.
|
||||
yylloc is not always available.
|
||||
* data/glr.c: Likewise.
|
||||
Also, honor initial-actions.
|
||||
|
||||
2004-09-20 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* data/yacc.c (YY_LOCATION_PRINT): New.
|
||||
|
||||
Reference in New Issue
Block a user