[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

position of productions.

I have a gramma with something like an assignment statement in it like this:
p = a ':=' b;
a and b are typed and these types must be identical, to get a valid assignment.
If this is not the case i want to emit an error message, with the position of production p.
Is it posible to get the line and position of an production (like the Token.getLine() and Token.getPos() )?