diff options
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 7fd73c91..2ae24cca 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -674,7 +674,7 @@ local function parseString(parent) -- compatibility if content:sub(1, 1) == '"' or content:sub(1, 1) == "'" then - if content:sub(1, 1) == content:sub(-1, -1) then + if #content > 1 and content:sub(1, 1) == content:sub(-1, -1) then mark = content:sub(1, 1) content = content:sub(2, -2) end |