summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-10 20:15:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-10 20:15:27 +0800
commit08ebbadd2a0502d028f7f248724a04acdb6996c0 (patch)
treebdf9822c98649aa8de28207d1006aa5a22d4e19e /script
parent1b068299839ba6f8e35bbc87b56d5198580f14fd (diff)
downloadlua-language-server-08ebbadd2a0502d028f7f248724a04acdb6996c0.zip
fix
Diffstat (limited to 'script')
-rw-r--r--script/parser/newparser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index 33187ee2..36e7b6cd 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -1078,7 +1078,7 @@ local function parseShortString()
skipNL()
local right = getPosition(currentOffset + 1, 'right')
escs[#escs+1] = escLeft
- escs[#escs+1] = right
+ escs[#escs+1] = escLeft + 1
escs[#escs+1] = 'normal'
goto CONTINUE
end