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.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to