[Top][All Lists]

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

Re: Two problems with the GLR parsers

From: Akim Demaille
Subject: Re: Two problems with the GLR parsers
Date: Fri, 15 Nov 2002 16:37:23 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

| As the starred lines indicate, the error token is shifted 4 times!
| Fortunately, the reduction is taken only once.  I'm not sure what to
| make of this, so I'll ask around before I try to make glr duplicate
| the behavior (or, of course, change input.at).

Nice audit analysis!  Thanks Paul!  Actually, this is also the
demonstration that this test is too weak: the location should really
be a range to be meaningfull: error's location should certainly start
at the discarded token, and end when the reduction is taken.

I'll try to extend the test ASAP.  I'll also try to fix the error
handling in Yacc.  But I'm running low on time: I leave at the end of
next week for a month :(

reply via email to

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