[antlr-interest] Re: nondeterminism warning?

Xue Yong Zhi seclib at seclib.com
Wed Jan 25 12:20:26 PST 2006


>  
> With this part, I become this warning:
>     nondeterminism upon k==1:LBRACK k==2:"assembly" between alt 1 and 
> exit branch of block
>  

Please be more clear with your question, which rule causes this 
warning(copy the entire antlr output please)?

If the warning comes from c_unit, it is because global_attributes and 
attribute_section can both start with LBRACK "assembly", and antlr can 
not distinguish when k = 2.

-- 
Xue Yong Zhi
http://seclib.blogspot.com



More information about the antlr-interest mailing list