[antlr-interest] tokens in parser grammar
Юрушкин Михаил
yurushkin at rambler.ru
Wed Aug 12 08:17:25 PDT 2009
And additional question:
"
constant[BlockStatement *stmntBlock]
returns [ExpressionBase *resultConstant]
: resultConstant = literal_constant // this line is wrong. Name
conflict with result value //
| T_IDENT { resultConstant = action.constant($T_IDENT, stmntBlock); }
;
" - isn't parded :(
: resultConstant = literal_constant <-- this line is wrong. Name
conflict with result value
what i do wrong?
--
Best regards,
Michael
More information about the antlr-interest
mailing list