[antlr-interest] Mantra grammar warning.

Matt Benson gudnabrsam at yahoo.com
Fri May 25 07:09:06 PDT 2007


ANTLRWorks?

-Matt

--- Bosko Ivanisevic <ivanisev at sezampro.com> wrote:

> I was looking at the definition of Mantra language
> to see how are things
> working and I've noticed that grammar checking in
> ANTLRWorks issues
> following warning:
> 
> warning(200): Mantra.g:393:3: Decision can match
> input such as "'else'"
> using multiple alternatives: 1, 2
> As a result, alternative(s) 2 were disabled for that
> input
> 
> Can anyone tell me what is wrong with the
> 'statement' rule definition
> and how can it be fixed?
> 
> BTW what are the meanings of various colors (green,
> red) used in Parse
> Tree window in ANTLRWorks in debug mode?
> 
> 
> 



      ____________________________________________________________________________________Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 




More information about the antlr-interest mailing list