[antlr-interest] Simple nondeterminism help

Terence Parr parrt at cs.usfca.edu
Fri Oct 17 20:08:11 PDT 2003


On Friday, October 17, 2003, at 06:34  PM, Nico wrote:

> Hi, I need some help in this undeterminism.
>  
>  
> LETTER: CAPITALLETTER | ('a'..'z');
> CAPITALLETTER: ('A'..'Z');
>
> How do I solve this?

Add "protected" keyword in front of second rule.

Terence

>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Co-founder, http://www.jguru.com
Co-founder, http://www.knowspam.net enjoy email again!
Co-founder, http://www.peerscope.com link sharing, pure-n-simple




 

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




More information about the antlr-interest mailing list