From e603eaa5d4a3b649cb8afeeabb38f5abaf26aa10 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 14 Dec 2004 18:49:09 +0000 Subject: [PATCH] * data/glr.c: Fix yyerror_range usage. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.45.2