I have a grammar with the token......
STRING
: '\'' ( ESC_SEQ | ~('\\'|'\'') )* '\''
;
so, single quotes string ( as per auto generated in antlr works)
When I'm walking the tree...... i have a string 'blah'
in the debugger I have
+ [Antlr.Runtime.Tree.CommonTree] {'blah'} Antlr.Runtime.Tree.CommonTree
and the "Text" property is
Text "'blah'" string
might be a bit hard to see
but it is blah' ie, it has the ' on the end.....
Now I'm not sure if its supposed to have both the quote or neither quotes,
but I'm pretty sure its not supposed to just have one of them
any ideas?
Regards,
Keith
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.