[antlr-interest] help

Balvinder Singh bals1978 at hotmail.com
Fri Jun 7 06:05:10 PDT 2002



Hi...

I have a rule, which has 3 conflicts. plz help me to resolve it.

If I change it to context free grammar  and use some syntactic predicate, 
will be a right way or not.

parser rule
picture_string : (currency)? ((picChar)+ (repeat)?)+ (Punctuation 
((picChar)+ (repeat)?)+)*

currency and picChar is alphabet

repeat : "(" Integer ")"
       ;



lexer rule
Punctuation : ('/' | ',' | '.' | ':')
            ;



so I have conflict in picture_string.

balvinder


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


 

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



More information about the antlr-interest mailing list