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:
parent
d72c8c83e6
commit
b2ddbda4e2
2
l65.lua
2
l65.lua
|
@ -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
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue
Block a user