==========================================================================
Thomas
Leonhardt
email leonhardt@informatik.tu-darmstadt.de
TU
Darmstadt
WWW http://www.pi.informatik.tu-darmstadt.de
FG Praktische
Informatik phone +49 / (0)6151 / 16 - 5313
D-64283
Darmstadt
fax +49 / (0)6151 / 16 -
5472
Germany
==========================================================================
-----Ursprüngliche Nachricht-----
Von: owner-sablecc-list@sable.mcgill.ca [mailto:owner-sablecc-list@sable.mcgill.ca]Im Auftrag von Brandner Florian
Gesendet: Freitag, 11. Mai 2001 14:57
An: sablecc list
Betreff: position of productions.Hallo,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() )?Florian