>>> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes:
> Unfortunately it's more complicated than that. First, yysyntax_error > might return alloca storage, which is a no-no. Yes, definitely :) > Second, if YYERROR_VERBOSE is not defined, yysyntax_error's args > are not used, and many compilers warn about this. Agreed, I realize that my sentence about applying the patch is not what I meant: I was more referring to its topic. > There's one more problem while we're in the area: a memory leak if > if YYSTACK_USE_ALLOCA is in effect. Each syntax error uses up > more stack space. Sorry, I fail to see how this can happen. > I've drafted a patch to fix these problems, but have not yet had time > to test it. I'll try to do it soon. Good news! This will also help moving lalr1.cc to a YY18N compatible scheme.
