[fpc-devel] "helper" feature finished

Florian Klaempfl florian at freepascal.org
Wed Apr 6 13:25:39 CEST 2011


Am 05.04.2011 20:20, schrieb Sven Barth:
> On 05.04.2011 17:34, Sven Barth wrote:
>>> - Is ibsymtableoptions needed? Couldn't be the value just be written to
>>> the ppu without a new entry?
>>
>> It didn't work the first time I added that, but it might be because of
>> other errors I had at that time. I'll recheck that to be sure.
> 
> I now remember why I did it...
> 
> PPUs are entry based and symtables (tstoreddef) don't have a PPU entry
> for themselves. They "only" write two entries: one for the defs and one
> for the symbols. So if I wouldn't have introduced a new entry for the
> options I would have broken all read operations when they'd read that
> new PPU or I would have needed to add the value to either the symbol
> entry or the def entry (both solutions are rather unclean).
> 
> So yes, the entry is needed.

Ok, I think we should leave this as it is. Maybe it can be fixed later on.



More information about the fpc-devel mailing list