[antlr-interest] way to rewind the token stream

Tarun Khanna tarunkhanna at gmail.com
Thu Jul 28 08:37:05 PDT 2005


I noticed a rewind method in the Parer Class. Can it be used to rewind the 
token stream to a previous location for resync purposes? Will it also rewind 
the character sream for the lexer. I am trying to find a way to resync the 
parser to a previous location after an error occurs. 

-- 
Tarun Khanna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050728/ccbf7e26/attachment.html


More information about the antlr-interest mailing list