[antlr-interest] Apparent bug in antlr 3.1.1
Terence Parr
parrt at cs.usfca.edu
Wed Dec 17 16:50:55 PST 2008
On Dec 17, 2008, at 4:44 PM, Bill Cox wrote:
> Sure! Attached. I'm doing this on a Mac. I thought the EOLs would
> be odd, but
> 'od -x Expr.g' only shows newlines, so it should be directly usable.
Typo in my grammar
| '(' expr ')' { $value = $expr.value(); }
should be
| '(' expr ')' { $value = $expr.value; }
Can you add to errata where you found the bug?
http://www.pragprog.com/titles/tpantlr/errata/add
Thanks!
Ter
More information about the antlr-interest
mailing list