2
0
Эх сурвалжийг харах

Fix StyleConstsUntilChars as reported by Tim Chilvers.

Martijn Laan 4 жил өмнө
parent
commit
e95f49585d

+ 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;