mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 09:49:08 +02:00
* Code formatting.
git-svn-id: trunk@45323 -
This commit is contained in:
parent
254d0c0e2c
commit
7cda3d9e57
@ -434,19 +434,19 @@ implementation
|
|||||||
|
|
||||||
|
|
||||||
procedure tprocinfo.set_needs_parentfp(parent_level: byte);
|
procedure tprocinfo.set_needs_parentfp(parent_level: byte);
|
||||||
var
|
var
|
||||||
pi : tprocinfo;
|
pi : tprocinfo;
|
||||||
begin
|
begin
|
||||||
if (procdef.parast.symtablelevel<=normal_function_level)
|
if (procdef.parast.symtablelevel<=normal_function_level)
|
||||||
or (procdef.parast.symtablelevel<=parent_level) then
|
or (procdef.parast.symtablelevel<=parent_level) then
|
||||||
Internalerror(2020050302);
|
Internalerror(2020050302);
|
||||||
if parent_level<normal_function_level then
|
if parent_level<normal_function_level then
|
||||||
parent_level:=normal_function_level;
|
parent_level:=normal_function_level;
|
||||||
pi:=Self;
|
pi:=Self;
|
||||||
repeat
|
repeat
|
||||||
include(pi.procdef.implprocoptions, pio_needs_parentfp);
|
include(pi.procdef.implprocoptions, pio_needs_parentfp);
|
||||||
pi:=pi.parent;
|
pi:=pi.parent;
|
||||||
until pi.procdef.parast.symtablelevel<=parent_level;
|
until pi.procdef.parast.symtablelevel<=parent_level;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
@ -6556,9 +6556,9 @@ implementation
|
|||||||
|
|
||||||
|
|
||||||
function tprocdef.is_implemented: boolean;
|
function tprocdef.is_implemented: boolean;
|
||||||
begin
|
begin
|
||||||
result:=not assigned(implprocdefinfo) or not implprocdefinfo^.forwarddef;
|
result:=not assigned(implprocdefinfo) or not implprocdefinfo^.forwarddef;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
function tprocdef.GetSymtable(t:tGetSymtable):TSymtable;
|
function tprocdef.GetSymtable(t:tGetSymtable):TSymtable;
|
||||||
|
Loading…
Reference in New Issue
Block a user