[antlr-interest] How do I find what Antlr is really telling me?

Alan Lehotsky ALehotsky at ABINITIO.COM
Tue Jan 11 14:19:04 PST 2011

I've massaged the PLSQL.g grammar which has a number of rules of the form:

select_statement :  SELECT swallow_to_semi;

update_statement : UPDATE swallow_to_semi;


swallow_to_semi :  ~( SEMI )+

These all seem to do the right thing, but I get a warning from Antlr that 

warning(200): plsql.g:815:39; Decision can match input such as 
TRANSACTION..VERTBAR}" using multiple alternatives: 1, 2
As a result, alternative(s) 2 were disabled for that input

But line 815 is in fact the swallow_to_semi rule, so it must have subsumed 
this rule into some other rule with multiple selections.

NOTICE  from Ab Initio: If received in error, please destroy and notify sender, and make no further use, disclosure, or distribution. This email (including attachments) may contain information subject to confidentiality obligations, and sender does not waive confidentiality or privilege.   

More information about the antlr-interest mailing list