[antlr-interest] Syntactic predicates require "k=x" ?
Hendy Irawan
gauldong at gmail.com
Mon Mar 28 05:13:40 PST 2005
Hi!
I was wondering:
NEWLINE : ("\r\n") => "\r\n" | '\r' | '\n';
Does that syntactic predicate ("\r\n") works if I don't specify k=2 in options?
It seems that it doesn't (it only checks for '\r' which is k=1) but I
can't be sure... help me please...
The FAQ says that I can have infinite lookahead using syntactic
predicates, yet I have to specify k ???? (*confused*)
--
Hendy Irawan - http://dev.gauldong.net - GaulDong Developer Center
More information about the antlr-interest
mailing list