Explorar o código

Fix StyleConstsUntilChars as reported by Tim Chilvers.

Martijn Laan %!s(int64=4) %!d(string=hai) anos
pai
achega
e95f49585d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Components/ScintStylerInnoSetup.pas

+ 4 - 0
Components/ScintStylerInnoSetup.pas

@@ -1633,6 +1633,10 @@ begin
         CommitStyle(stConstant);
     end;
   end;
+  if BraceLevel = 0 then
+    CommitStyle(NonConstStyle)
+  else
+    CommitStyleSqPending(stConstant);
 end;
 
 procedure TInnoSetupStyler.StyleNeeded;