mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-15 11:42:45 +02:00
codetools: indenter: closing statement on else
git-svn-id: trunk@22860 -
This commit is contained in:
parent
6031820f5a
commit
a3eed789e4
@ -794,6 +794,8 @@ begin
|
||||
case UpChars[r[1]] of
|
||||
'L': // EL
|
||||
if CompareIdentifiers('ELSE',r)=0 then begin
|
||||
if Stack.TopType=bbtStatement then
|
||||
EndBlock;
|
||||
case Stack.TopType of
|
||||
bbtCaseOf,bbtCaseColon:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user