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
says
warning(200): plsql.g:815:39; Decision can match input such as
"{BLOCK..DIVIDE, OR..END, BODY..RETURN, TEMPORARY..INOUT_,
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.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.