[antlr-interest] Rule question.
Gevik babakhani
gevik at xs4all.nl
Sun Apr 9 13:17:49 PDT 2006
Folks,
I have a question regarding Parser rules.
Let's say, I have the following rules in my lexer.
A : 'a';
B : 'b';
C ; 'c';
These three rules are all mandatory and must be present in the source file.
BUT the order of appearance in the source file is of no importance. One
could enter abc or cba or bca, cab in the source file.
How do I describe that in my parser rules?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060409/159080df/attachment.html
More information about the antlr-interest
mailing list