* don't include uf_init for library. The code is already called and

does not need to be in the initfinal table
This commit is contained in:
peter 2002-12-15 13:37:15 +00:00
parent 88e68acd03
commit bbd18afe11

View File

@ -139,6 +139,9 @@ implementation
begin
if token=_INITIALIZATION then
begin
{ The library init code is already called and does not
need to be in the initfinal table (PFV) }
if not islibrary then
current_module.flags:=current_module.flags or uf_init;
block:=statement_block(_INITIALIZATION);
end
@ -156,6 +159,9 @@ implementation
end
else
begin
{ The library init code is already called and does not
need to be in the initfinal table (PFV) }
if not islibrary then
current_module.flags:=current_module.flags or uf_init;
block:=statement_block(_BEGIN);
end;
@ -804,7 +810,11 @@ implementation
end.
{
$Log$
Revision 1.80 2002-12-07 14:27:09 carl
Revision 1.81 2002-12-15 13:37:15 peter
* don't include uf_init for library. The code is already called and
does not need to be in the initfinal table
Revision 1.80 2002/12/07 14:27:09 carl
* 3% memory optimization
* changed some types
+ added type checking with different size for call node and for