mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 17:59:27 +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);
|
||||
var
|
||||
pi : tprocinfo;
|
||||
begin
|
||||
if (procdef.parast.symtablelevel<=normal_function_level)
|
||||
or (procdef.parast.symtablelevel<=parent_level) then
|
||||
Internalerror(2020050302);
|
||||
if parent_level<normal_function_level then
|
||||
parent_level:=normal_function_level;
|
||||
pi:=Self;
|
||||
repeat
|
||||
include(pi.procdef.implprocoptions, pio_needs_parentfp);
|
||||
pi:=pi.parent;
|
||||
until pi.procdef.parast.symtablelevel<=parent_level;
|
||||
end;
|
||||
var
|
||||
pi : tprocinfo;
|
||||
begin
|
||||
if (procdef.parast.symtablelevel<=normal_function_level)
|
||||
or (procdef.parast.symtablelevel<=parent_level) then
|
||||
Internalerror(2020050302);
|
||||
if parent_level<normal_function_level then
|
||||
parent_level:=normal_function_level;
|
||||
pi:=Self;
|
||||
repeat
|
||||
include(pi.procdef.implprocoptions, pio_needs_parentfp);
|
||||
pi:=pi.parent;
|
||||
until pi.procdef.parast.symtablelevel<=parent_level;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
@ -6556,9 +6556,9 @@ implementation
|
||||
|
||||
|
||||
function tprocdef.is_implemented: boolean;
|
||||
begin
|
||||
result:=not assigned(implprocdefinfo) or not implprocdefinfo^.forwarddef;
|
||||
end;
|
||||
begin
|
||||
result:=not assigned(implprocdefinfo) or not implprocdefinfo^.forwarddef;
|
||||
end;
|
||||
|
||||
|
||||
function tprocdef.GetSymtable(t:tGetSymtable):TSymtable;
|
||||
|
Loading…
Reference in New Issue
Block a user