[antlr-interest] non-determinism warning
Tarun Khanna
tarunkhanna at gmail.com
Tue Jul 5 14:47:05 PDT 2005
Hi All,
I stumbled across this problem once more, so here I am looking for some
standard solution to such a problem.
Consider the following production ->
F: LP exp RP | (DOT IDENT)* (DOT TAB)?
There is non-determinism because the parser doesn't know, when to stop
matching the first DOT and start looking for the second DOT.
Syntactic or semantic predicates can not be used as, there are no
alternates. I don't want to use a look ahead of more than 1.
Please help...........
--
Tarun Khanna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050705/fd523ac6/attachment.html
More information about the antlr-interest
mailing list