bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re_ data_glr.c yyinitGLRStack() (fix)


From: Paul Hilfinger
Subject: Re: Re_ data_glr.c yyinitGLRStack() (fix)
Date: Mon, 18 Jul 2005 19:36:46 -0700

> By the way, it appears to me that there can be memory leaks in the GLR
> parser if the stack overflows or the user invokes YYABORT, because
> yyfreeGLRStack does not invoke yydestruct on the items remaining in
> the parser stack.  Paul Hilfinger, does this diagnosis make sense to
> you?

Yes, that does seem to be true (not entirely surprising, since the
destructor code that's now there isn't mine, having been added later
pretty much in parallel with yacc.c).

Paul H.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]