Compare commits

..

No commits in common. "amiga-2.0" and "v2.1.0r1" have entirely different histories.

1 changed files with 81 additions and 83 deletions

View File

@ -225,7 +225,6 @@ function tokenizer.tokenize(incoming_syntax, text, state)
end
local text_len = text:ulen()
if text_len ~= nil then
while i <= text_len do
-- continue trying to match the end pattern of a pair if we have a state set
if current_pattern_idx > 0 then
@ -316,7 +315,6 @@ function tokenizer.tokenize(incoming_syntax, text, state)
i = i + 1
end
end
end
return res, state
end