[antlr-interest] Re: Checking for expression end in Javascriptparser
Xue Yong Zhi
zhixueyong at hotmail.com
Wed Oct 26 08:52:36 PDT 2005
Oops, find a problem in my approach: parser will not access token stream
directly everytime, it uses buffer. So overriding Parser::LA() might be
better.
--
Xue Yong Zhi
http://seclib.blogspot.com
> 1. Do not filter line break in the lexer.
> 2. Subclass antlr generated lexer, overide nextToken(), add a flag to
> control the visibility of the linebreak.
More information about the antlr-interest
mailing list