[antlr-interest] simulating yyless in ANTLR
Gokulakannan Somasundaram
gokul007 at gmail.com
Tue Aug 4 21:09:21 PDT 2009
Hi,
Is it correct to simulate the yyless of FLEX by using PUSHSTREAM in
ANTLR? If we create a new stream for the characters to be re-introduced, and
switch to that stream, ANTLR automatically goes to the old stream once this
is exhausted.
Is my approach correct?
Thanks,
Gokul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090805/ac8ad183/attachment.html
More information about the antlr-interest
mailing list