[antlr-interest] help

Sinan sinan.karasu at boeing.com
Wed Jun 12 08:17:35 PDT 2002


Greg Lindholm wrote:
> 
> I'll try to help where I can.
> 
> identifier : qualified_data_name
>    ( "(" subscript ")" )*
>    ( "(" leftmost_character_position ":" (length)? ")" )?;
> 
> try.g:125: warning: nondeterminism upon
> try.g:125:      k==1:"("
> try.g:125:      between alt 1 and exit branch of block
> 

A simple solution would be

 identifier : qualified_data_name
    ( ("(" subscript )=> "(" subscript ")" )*
    ( "(" leftmost_character_position ":" (length)? ")" )?;

sinan

 

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



More information about the antlr-interest mailing list