[antlr-interest] strange bug (v 2.7.2)

Terence Parr parrt at cs.usfca.edu
Tue Jul 1 22:56:20 PDT 2003


What's the warning say?

Ter

On Tuesday, July 1, 2003, at 10:33  PM, Lloyd Dupont wrote:

> (I join you a simple failing grammar)
>  
> basically I have a simple tokens definition like that:
> //--------------------------- lexer.g ----------------
> class FMSqlLexer extends Lexer;
> options {
> k = 3;
> charVocabulary = '3' .. '177';
> }
>
> NOT_EQ: ("<>") | ("!=") | ("^=") ;
> LE: ("<=") ;
> LessT: "<" ;
> // ---------- end of lexer ----------
>
> and ANTLR find it ambiguous !
>
> what's wrong ? 
> I mean which clues should I give to ANTLR to help it understand its 
> errors ?
>  
>  
>
> 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