[antlr-interest] Antlr v2 AST -> v3 AST
chain one
chainone at gmail.com
Mon Nov 24 04:33:14 PST 2008
Sorry for the wide distribution, I am newbie to ANTLR.
I found a V2 AST rule.
logical_literal
: 'false' { $logical_literal = $([LOGICAL_LITERAL,
'LOGICAL_LITERAL'], $logical_literal); };
Is it correct to translate this rule to the following RULE in V3?
logical_literal
: 'false' -> ^(LOGICAL_LITERAL[],$logical_literal);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081124/2dd77ecf/attachment.html
More information about the antlr-interest
mailing list