mirror of https://gitlab.com/basile.b/dexed.git
fix, brace auto closing broken module includes token strings
This commit is contained in:
parent
8d3b427bcf
commit
7775180f09
|
@ -1197,7 +1197,7 @@ begin
|
||||||
for i := 0 to fLexToks.Count-1 do
|
for i := 0 to fLexToks.Count-1 do
|
||||||
begin
|
begin
|
||||||
tok := fLexToks[i];
|
tok := fLexToks[i];
|
||||||
c += byte((tok^.kind = TLexTokenKind.ltkSymbol) and (tok^.Data = '{'));
|
c += byte((tok^.kind = TLexTokenKind.ltkSymbol) and (((tok^.Data = '{')) or (tok^.Data = 'q{')));
|
||||||
c -= byte((tok^.kind = TLexTokenKind.ltkSymbol) and (tok^.Data = '}'));
|
c -= byte((tok^.kind = TLexTokenKind.ltkSymbol) and (tok^.Data = '}'));
|
||||||
end;
|
end;
|
||||||
if (tok <> nil) and (tok^.kind = ltkIllegal) then
|
if (tok <> nil) and (tok^.kind = ltkIllegal) then
|
||||||
|
|
Loading…
Reference in New Issue