[antlr-interest] string literal token rule not working?
meissnersd
meissnersd at yahoo.com
Tue Jul 13 14:29:34 PDT 2004
For some reason the ? charater can not be in string literals in my
grammer. Sends an error message "found ?. expecting '"
In my language strings are surrounded by single quotes.
Here is the rule to does not work...
STRING_LITERAL
: '\'' (~'\'')* '\''
;
Any ideas? Something with the ~ must be....
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list