hi Chris.  Does expr return a value called value?
Ter
On Dec 23, 2010, at 2:15 PM, chris king wrote:

> Hi,
> 
> I just bought the book and was trying out some samples. I encountered a
> little error and I'm wondering if it's my fault. I copied this from page 69:
> 
> expr NEWLINE {System.out.println($expr.value);}
> 
> And when I use (the incredible) ANTLRWorks I get an error
> 
> [12:10:31] error(116): c:\users\cking\documents\visual studio
> 2010\Projects\antlr\antlr\Expr.g:20:23: unknown attribute for rule expr:
> value
> 
> Maybe it should be expr.text? Or am I using the wrong version? I'm currently
> rocking out with 1.4.2 of AntlerWorks.
> 
> Thanks,
> Chris
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: 
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to