1
0
mirror of https://github.com/g012/l65.git synced 2024-06-02 12:41:28 +00:00

Removed embedded long string parsing, as it does not conform to Lua 5.3 specs (it is Lua 5.0 behaviour).

This commit is contained in:
g012 2017-10-11 23:24:21 +02:00
parent d72c8c83e6
commit b2ddbda4e2

View File

@ -325,6 +325,7 @@ local function LexLua(src)
foundEnd = false foundEnd = false
end end
else else
--[[
if peek() == '[' then if peek() == '[' then
-- is there an embedded long string? -- is there an embedded long string?
local embedded = true local embedded = true
@ -342,6 +343,7 @@ local function LexLua(src)
end end
end end
end end
]]
foundEnd = false foundEnd = false
end end
-- --