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

Ernest Pasour sasecp at wnt.sas.com
Fri Nov 2 08:19:21 PST 2001


I'll look and see if I have the jar files I built.  Maybe I can give you the changed class file(s).

-----Original Message-----
From: Dennis Marsa [mailto:drm at xilinx.com]
Sent: Friday, November 02, 2001 11:10 AM
To: antlr-interest at yahoogroups.com
Subject: Re: [antlr-interest] token stream resynching in custom
exception handlers?


> 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?).
> 
> Try "consumeUntil($lookaheadSet);", where "$lookaheadSet" is a special string that antlr looks for.

Precisely the kind of thing I was hoping for.  I am using C++.

Looking back in old antlr-interest mails, I see you submitted a patch
for this.  Do you still have that patch?  I didn't see a mail with it.

I am not in a position to upgrade to the latest development version.

Thanks,

Dennis

 

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


 

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



More information about the antlr-interest mailing list