codetools: indenter: closing statement on else

git-svn-id: trunk@22860 -
This commit is contained in:
mattias 2009-11-29 22:22:56 +00:00
parent 6031820f5a
commit a3eed789e4

View File

@ -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