Browse Source

Fix StyleConstsUntilChars as reported by Tim Chilvers.

Martijn Laan 4 years ago
parent
commit
e95f49585d
1 changed files with 4 additions and 0 deletions
  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;