[antlr-interest] Catch all else rule
Des Hartman
des at deshartman.com
Sun Mar 15 17:42:42 PDT 2009
Is there a way to set up a rule that catches all other matches if none of
the parsing matches? My thinking here is I match all the parser rules that I
know of such as:
multiplication
adding
power
operand
literal
etc
and if none of these are matched, then the entered text is a string.
Thanks
Des
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090316/96b16084/attachment.html
More information about the antlr-interest
mailing list