Paul Ishenin schrieb:

Generics need to replay tokens with their position for debugging purposes.

I.e. the tokens have to be stored and replayed with their original positions. Most probably the current_filepos should not be modified during replay (in contrast to normal token scanning)?

The replay procedure is a bit cryptic, since positions are encoded in special tokens, and it's not obvious in which places such tokens occur in the stored token stream.

DoDi
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to