fix, brace auto closing broken module includes token strings

This commit is contained in:
Basile Burg 2016-03-31 09:52:53 +02:00
parent 8d3b427bcf
commit 7775180f09
1 changed files with 1 additions and 1 deletions

View File

@ -1197,7 +1197,7 @@ begin
for i := 0 to fLexToks.Count-1 do
begin
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 = '}'));
end;
if (tok <> nil) and (tok^.kind = ltkIllegal) then