[antlr-interest] Is this nondeterminism solvable?

Pete Forman pete.forman at westerngeco.com
Tue Jul 6 03:03:45 PDT 2004


At 2004-07-06 08:49 +0200, Steffen Schuemann wrote:
>Is the nondeterminism solvable, or will I have to disable
>the warning? I tried for some days now, and start to get
>frustated a bit. ;-)

Your statementBlock allowed unseparated statements.  Try this.


statementBlock
     : SBLOCK^ (statement (SSEP! statement)*)? EBLOCK
     ;

-- 
Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
pete.forman at westerngeco.com    -./\.-   opinion of Schlumberger, Baker
http://petef.port5.com           -./\.-   Hughes or their divisions.



 
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