[fpc-devel] "helper" feature finished
Paul Ishenin
ip at kmiac.ru
Wed Apr 6 11:06:49 CEST 2011
06.04.2011 2:20, 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).
And what will happen if you write options before defs and symbols?
Best regards,
Paul Ishenin.
More information about the fpc-devel
mailing list