|
@@ -777,10 +777,10 @@ interface
|
|
|
{$endif oldregvars}
|
|
|
import_nr : word;
|
|
|
extnumber : word;
|
|
|
- visibility : tvisibility;
|
|
|
{ set to a value different from tsk_none in case this procdef is for
|
|
|
a routine that has to be internally generated by the compiler }
|
|
|
- synthetickind : tsynthetickind;
|
|
|
+ synthetickind: tsynthetickind;
|
|
|
+ visibility : tvisibility;
|
|
|
constructor create(level:byte;doregister:boolean);virtual;
|
|
|
constructor ppuload(ppufile:tcompilerppufile);
|
|
|
destructor destroy;override;
|
|
@@ -5424,7 +5424,6 @@ implementation
|
|
|
deprecatedmsg:=stringdup(ppufile.getstring)
|
|
|
else
|
|
|
deprecatedmsg:=nil;
|
|
|
- synthetickind:=tsynthetickind(ppufile.getbyte);
|
|
|
{ import stuff }
|
|
|
if po_has_importdll in procoptions then
|
|
|
import_dll:=stringdup(ppufile.getstring)
|
|
@@ -5596,7 +5595,6 @@ implementation
|
|
|
ppufile.putsmallset(symoptions);
|
|
|
if sp_has_deprecated_msg in symoptions then
|
|
|
ppufile.putstring(deprecatedmsg^);
|
|
|
- ppufile.putbyte(byte(synthetickind));
|
|
|
{ import }
|
|
|
if po_has_importdll in procoptions then
|
|
|
ppufile.putstring(import_dll^);
|
|
@@ -5875,6 +5873,7 @@ implementation
|
|
|
begin
|
|
|
if assigned(resultname) then
|
|
|
tprocdef(result).resultname:=stringdup(resultname^);
|
|
|
+ tprocdef(result).synthetickind:=synthetickind;
|
|
|
end;
|
|
|
if assigned(import_dll) then
|
|
|
tprocdef(result).import_dll:=stringdup(import_dll^);
|
|
@@ -5883,7 +5882,6 @@ implementation
|
|
|
tprocdef(result).import_nr:=import_nr;
|
|
|
tprocdef(result).extnumber:=$ffff;
|
|
|
tprocdef(result).visibility:=visibility;
|
|
|
- tprocdef(result).synthetickind:=synthetickind;
|
|
|
{ we need a separate implementation for the copied def }
|
|
|
tprocdef(result).forwarddef:=true;
|
|
|
tprocdef(result).interfacedef:=true;
|