style(codegen): fix indentation of EmitFFIRecordTypeDecls call sites
Both calls to EmitFFIRecordTypeDecls and the following FOutput.AppendBuffer(Body) in GenerateUnit/AppendUnit were de-dented one level outside the enclosing try..finally body. Align them with the surrounding code.
This commit is contained in:
parent
7b99e79114
commit
8ea4c79f19
|
|
@ -9970,7 +9970,7 @@ begin
|
|||
EmitFieldCleanupFn(GI.TypeName, RT);
|
||||
end;
|
||||
EmitFFIRecordTypeDecls;
|
||||
FOutput.AppendBuffer(Body);
|
||||
FOutput.AppendBuffer(Body);
|
||||
finally
|
||||
Body.Free;
|
||||
end;
|
||||
|
|
@ -10346,7 +10346,7 @@ begin
|
|||
EmitLocalArrayConstsInUnit(AUnit);
|
||||
|
||||
EmitFFIRecordTypeDecls;
|
||||
FOutput.AppendBuffer(Body);
|
||||
FOutput.AppendBuffer(Body);
|
||||
|
||||
{ Initialization section: emit as export function $<Unit>_init() }
|
||||
if (AUnit.InitStmts <> nil) and (AUnit.InitStmts.Count > 0) then
|
||||
|
|
|
|||
Loading…
Reference in a new issue