[antlr-interest] Expression evaluator error [v3 wiki]
Kay Roepke
kroepke at classdump.org
Wed Nov 29 03:57:36 PST 2006
On 29. Nov 2006, at 12:36 , Hugo Garcia wrote:
> At http://www.antlr.org/wiki/display/ANTLR3/Expression+evaluator
>
> I cut and past the grammar and succesfully generate a parser and a
> lexer but when I open the code for the parser then I get the following
> error (line 382 in my editor) :
Ouch. Changing the offending line to
| '(' e=expr ')' {$value = $e.value;}
works as expected. I'll investigate.
Thanks,
-k
--
Kay Röpke
http://classdump.org/
More information about the antlr-interest
mailing list