[fpc-devel] current_tokenpos/filepos

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Sep 6 16:19:22 CEST 2010

Florian Klaempfl schrieb:

>> 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.

Me 2 :-(

Therefore my questions about the values in concrete classes, whose 
answers could shed a light on the according use in macro expansion and 
generics. Probably generics require both information, about the 
locations of the declarations and their extensions, in order to generate 
useful error messages. But I never used generics myself, and 
consequently don't know anything about possible problems...


More information about the fpc-devel mailing list