From: Paul Eggert Date: Tue, 14 Dec 2004 18:49:09 +0000 (+0000) Subject: * data/glr.c: Fix yyerror_range usage. X-Git-Tag: BISON-2_0~34 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/e603eaa5d4a3b649cb8afeeabb38f5abaf26aa10?ds=sidebyside * data/glr.c: Fix yyerror_range usage. --- diff --git a/ChangeLog b/ChangeLog index 3f953fad..1ad740cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-12-14 Paul Eggert + + * 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 * data/glr.c (YYRHSLOC): Don't have two definitions, one for