Paul Hilfinger wrote:

> This is actually Akim's code rather than mine, so I'm a tad uncertain as
> to the "correct" fix.  The problem, at least, is clear: when entering
> the error-recovery code as a result of YYERROR, yyerror_range[1] is 
> uninitialized. I request a second set of eyes take a look at the
> suggested patch below, inspired by yacc.c, and tell me what you think.

Incidentally a user of our compiler reported a bug the other day
that I traced down to exactly this problem, just when I read your
mail. I was already going make a reproducable test case, now I don't
have to. :-)

I can report that your patch (applied to Bison 2.0) fixes this
problem. So thanks for this ultra-quick fix. (-; This mail is very
late in comparison, as I was busy with other things meanwhile.)

Frank

-- 
Frank Heckenbach, [EMAIL PROTECTED]
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)


Reply via email to