[antlr-interest] (qid) Qualified Identifiers
The Researcher
researcher0x00 at gmail.com
Tue Apr 26 12:48:01 PDT 2011
I am creating qualified identifiers and saw the message
http://markmail.org/message/to72c6jlem5zcrjk
parser grammar
qid : ID (DOT^ ID)* ;
and tree grammar
qid : ^(DOT qid)
| ID ;
but to get the AST parse to work for my tree grammar required
qid : ^(DOT qid ID) note ID added after quid
| ID ;
Was the example a typo or is my code wrong?
Thanks
Eric
More information about the antlr-interest
mailing list