mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-07 09:12:35 +02:00
codetools: auto indent: close if-then on semicolon
git-svn-id: trunk@22568 -
This commit is contained in:
parent
c88c2b2dce
commit
e7a4c20bc0
@ -1008,15 +1008,15 @@ begin
|
|||||||
end;
|
end;
|
||||||
';':
|
';':
|
||||||
case Stack.TopType of
|
case Stack.TopType of
|
||||||
bbtUsesSection,bbtDefinition,bbtStatement:
|
bbtUsesSection,bbtDefinition:
|
||||||
EndBlock;
|
EndBlock;
|
||||||
bbtCaseColon:
|
bbtCaseColon:
|
||||||
begin
|
begin
|
||||||
EndBlock;
|
EndBlock;
|
||||||
BeginBlock(bbtCaseOf);
|
BeginBlock(bbtCaseOf);
|
||||||
end;
|
end;
|
||||||
bbtIfThen,bbtIfElse:
|
bbtIfThen,bbtIfElse,bbtStatement:
|
||||||
while Stack.TopType in [bbtIf,bbtIfThen,bbtIfElse] do
|
while Stack.TopType in [bbtIf,bbtIfThen,bbtIfElse,bbtStatement] do
|
||||||
EndBlock;
|
EndBlock;
|
||||||
bbtProcedureHead:
|
bbtProcedureHead:
|
||||||
if CheckProcedureModifiers then
|
if CheckProcedureModifiers then
|
||||||
|
Loading…
Reference in New Issue
Block a user