[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exceeded limits of %dprec/%merge?
From: |
Joel E. Denny |
Subject: |
Re: Exceeded limits of %dprec/%merge? |
Date: |
Wed, 17 May 2006 03:42:17 -0400 (EDT) |
On Wed, 17 May 2006, Joel E. Denny wrote:
> On Wed, 17 May 2006, Derek M Jones wrote:
>
> > On this cut down example I also get a null pointer dereference
> > at line 1616 of the generated .c file.
>
> Thanks for the report. I'll install a patch for this tomorrow.
Here's the patch. I'll install it once the list archives update so I know
the URL of the original message. Paul, this is a pretty obvious patch.
Should we slip it in before the release?
2006-05-17 Joel E. Denny <address@hidden>
* data/glr.c (yyreportTree): Make room in yystates for state preceding
RHS. This fixes the segmentation fault reported by Derek M. Jones in
< >.
* THANKS: Add Derek M. Jones.
Update my email address.
Fix typo in Steve Murphy's name.
Index: THANKS
===================================================================
RCS file: /sources/bison/bison/THANKS,v
retrieving revision 1.66
diff -p -u -r1.66 THANKS
--- THANKS 14 May 2006 21:00:37 -0000 1.66
+++ THANKS 17 May 2006 06:20:08 -0000
@@ -21,6 +21,7 @@ Cris Bailiff c.bailiff+biso
Cris van Pelt address@hidden
Daniel Hagerty address@hidden
David J. MacKenzie address@hidden
+Derek M. Jones address@hidden
Dick Streefland address@hidden
Enrico Scholz address@hidden
Evgeny Stambulchik address@hidden
@@ -34,7 +35,7 @@ Jan Nieuwenhuizen address@hidden
Jesse Thilo address@hidden
Jim Kent address@hidden
Jim Meyering address@hidden
-Joel E. Denny address@hidden
+Joel E. Denny address@hidden
Juan Manuel Guerrero address@hidden
Kees Zeelenberg address@hidden
Keith Browne address@hidden
@@ -67,7 +68,7 @@ Raja R Harinath address@hidden
Richard Stallman address@hidden
Robert Anisko address@hidden
Shura address@hidden
-Steve Murhpy address@hidden
+Steve Murphy address@hidden
Tim Josling address@hidden
Tim Van Holder address@hidden
Tom Lane address@hidden
Index: data/glr.c
===================================================================
RCS file: /sources/bison/bison/data/glr.c,v
retrieving revision 1.174
diff -p -u -r1.174 glr.c
--- data/glr.c 15 May 2006 06:13:53 -0000 1.174
+++ data/glr.c 17 May 2006 06:20:11 -0000
@@ -1741,7 +1741,7 @@ yyreportTree (yySemanticOption* yyx, int
int yynrhs = yyrhsLength (yyx->yyrule);
int yyi;
yyGLRState* yys;
- yyGLRState* yystates[YYMAXRHS];
+ yyGLRState* yystates[1 + YYMAXRHS];
yyGLRState yyleftmost_state;
for (yyi = yynrhs, yys = yyx->yystate; 0 < yyi; yyi -= 1, yys = yys->yypred)
- Re: Exceeded limits of %dprec/%merge?,
Joel E. Denny <=