* data/glr.c: Fix yyerror_range usage.

This commit is contained in:
Paul Eggert
2004-12-14 18:49:09 +00:00
parent 63d72da75b
commit e603eaa5d4

View File

@@ -1,3 +1,13 @@
2004-12-14 Paul Eggert <eggert@cs.ucla.edu>
* data/glr.c (struct yyGLRStack): yyerror_range now has 3 items,
not 2, since it's not portable to subtract 1 from the start of an
array. The new item 0 is never set or used. All uses changed.
(yyrecoverSyntaxError): Use YYLLOC_DEFAULT instead of assuming
the default definition of YYLLOC_DEFAULT. Problem reported
by Frank Heckenbach.
2004-12-12 Paul Eggert <eggert@cs.ucla.edu>
* data/glr.c (YYRHSLOC): Don't have two definitions, one for