florian at freepascal.org
Mon Sep 6 08:52:25 CEST 2010
Am 06.09.2010 05:29, schrieb Hans-Peter Diettrich:
>>> 5) Some (parser) procedures modify current_tokenpos/filepos temporarily,
>>> and restore the old values later. What's the purpose of such changes?
>> To get correct file positions in debugging code and error messages.
> So every temporary change of current_tokenpos should be considered
> wrong? According to your above description I'd make current_tokenpos a
> read-only property of the scanner...
I'am not sure what e.g. generics do with it.
More information about the fpc-devel