[antlr-interest] am I doing something wrong?
Johnicholas Hines
johnicholas.hines at gmail.com
Tue Jun 20 07:42:51 PDT 2006
I'm trying to create a AST node with text from a variable, like this:
#expr = #([THING, "THING"], x, [INTEGER, os.str().c_str()]);
I get this:
mygrammar.g:66:76: Syntax error in action: mygrammar.g:66:76: unexpected
char: '.'
Is there a proper, idiomatic way to do this?
Johnicholas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060620/25aabe01/attachment.html
More information about the antlr-interest
mailing list