diff options
-rw-r--r-- | .vscode/launch.json | 2 | ||||
-rw-r--r-- | script/parser/newparser.lua | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 73516e26..c4194825 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -24,7 +24,7 @@ "type": "lua", "request": "attach", "stopOnEntry": false, - "address": "127.0.0.1:11427", + "address": "127.0.0.1:11413", "outputCapture": [ ], "sourceMaps": [ diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua index 8469b68d..e063040e 100644 --- a/script/parser/newparser.lua +++ b/script/parser/newparser.lua @@ -1001,9 +1001,10 @@ local function parseShortString() goto CONTINUE end if NLMap[nextToken] then + stringIndex = stringIndex + 1 stringPool[stringIndex] = '\n' currentOffset = Tokens[Index] + #nextToken - Index = Index + 2 + skipNL() goto CONTINUE end pushError { |