mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 12:50:31 +02:00
* Avoid double begin/end
git-svn-id: trunk@46889 -
This commit is contained in:
parent
de180d7656
commit
f8b5c81b8b
@ -1256,6 +1256,9 @@ begin
|
|||||||
if DoBeginEnd then
|
if DoBeginEnd then
|
||||||
AddLn('begin');
|
AddLn('begin');
|
||||||
IncIndent;
|
IncIndent;
|
||||||
|
if AIfElse.IfBranch is TPasImplBeginBlock then
|
||||||
|
WriteImplBlock(TPasImplBeginBlock(AIfElse.IfBranch))
|
||||||
|
else
|
||||||
WriteImplElement(AIfElse.IfBranch, False);
|
WriteImplElement(AIfElse.IfBranch, False);
|
||||||
DecIndent;
|
DecIndent;
|
||||||
if DoBeginEnd then
|
if DoBeginEnd then
|
||||||
|
Loading…
Reference in New Issue
Block a user