[antlr-interest] token stream resynching in custom exception handlers?

Terence Parr parrt at jguru.com
Fri Nov 2 10:03:57 PST 2001


On Friday, November 2, 2001, at 08:42  AM, Ric Klaren wrote:

> On Fri, Nov 02, 2001 at 10:42:20AM -0500, Ernest Pasour wrote:
>> There is a way to do this in the current development build.  At least 
>> in
>> C++, but I think Ric ported it to Java as well (Ric?).
>
> I ported it yah.

Ric, does $lookaheadSet compute lookahead from where the action sites? 
(in this case the FOLLOW)?

Perhaps we should have $FOLLOW and $FOLLOW(rule) and $FIRST(rule) as 
values.  $lookaheadSet is ambiguous, right?

Ter
--
Chief Scientist & Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list