Skip to content

Commit

Permalink
Fix TurboPack#227 again!
Browse files Browse the repository at this point in the history
  • Loading branch information
pyscripter committed Dec 13, 2024
1 parent 1b04ea1 commit 4000144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Highlighters/SynHighlighterJSON.pas
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ procedure TSynJSONSyn.NumberProc;
if FLine[Run] = '0' then
if FLine[Run + 1] <> '.' then
begin
if CharInSet(FLine[Run + 1], [',', #32]) then
if CharInSet(FLine[Run + 1], [#0, #32, ',', ']', '}']) then
begin
Inc(Run);
Exit;
Expand Down

0 comments on commit 4000144

Please sign in to comment.