[antlr-interest] Multiplication and pointers in C-style language
Steve O'Hara
sohara at pivotal-solutions.co.uk
Wed Apr 30 07:38:06 PDT 2008
Hello,
I must be missing something pretty basic but I don't know what it is.
The example grammar below produces the "missing attribute access on rule
scope: endClause"
The book (page 126) indicates that you can do this - any ideas what I'm
doing wrong?
@members {
public Token EndClause=null;
}
statement
: FIND (tableList | statsClause) queryExpression? endClause?
{EndClause=$endClause;}
;
Thanks,
Steve
More information about the antlr-interest
mailing list