[antlr-interest] Re: Lookahead set merging

Brad Schick schick at robotbattle.com
Sun May 2 23:59:02 PDT 2004


I just wanted to note that this is really a "why does antlr work 
this way" question rather than a "please fix my grammar" question :)

Pasted the warnings below. Lines 30 and 33 correspond to the two 
lines containing "(variable_qual)?" in the example.

tester.g:30:13: warning:nondeterminism between alts 1 and 2 of block 
upon
tester.g:30:13:     k==1:"["
tester.g:30:13:     k==2:IDENT
tester.g:33:26: warning:nondeterminism between alts 1 and 2 of block 
upon
tester.g:33:26:     k==1:"["
tester.g:33:26:     k==2:IDENT






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list