[fpc-devel] "helper" feature finished

Sven Barth pascaldragon at googlemail.com
Tue Apr 5 20:20:17 CEST 2011


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.

Regards,
Sven



More information about the fpc-devel mailing list