[fpc-devel] Differences between 'tsym' and 'tdef'

Paul Ishenin ip at kmiac.ru
Fri May 18 10:32:20 CEST 2012


18.05.2012 15:49, Joost van der Sluis написал:

> Indeed. And I do have the symbol of the corresponding type and a list of
> parameters already. I thought I needed a symbol/definition to store the
> references. Else I would have to store those references in the
> TPropertySym, but also in the symbol of the class. That doesn't look
> good to me?

I think you need to store this information both in TStoredDef - for 
classes, records, enumerations, arays, ordinals, functions. At the same 
time you need to store it in tpropertysym, tfieldvarsym (maybe 
TStoredSym) since they are not definitions.

Best regards,
Paul Ishenin




More information about the fpc-devel mailing list