diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-10 20:57:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-10 20:57:00 +0800 |
commit | 5addb4269a201e8a33479dce236adf8a38a37391 (patch) | |
tree | a5c27e82b549af687c99b10d076d919c32ec8d71 /script/parser | |
parent | e112035b49171693d2c492e329eae2df23ad0c87 (diff) | |
download | lua-language-server-5addb4269a201e8a33479dce236adf8a38a37391.zip |
update
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/newparser.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua index 36e7b6cd..37f79d4b 100644 --- a/script/parser/newparser.lua +++ b/script/parser/newparser.lua @@ -3011,6 +3011,7 @@ local function parseLabel() end local function parseGoTo() + local start = getPosition(Tokens[Index], 'left') Index = Index + 2 skipSpace() @@ -3021,6 +3022,7 @@ local function parseGoTo() end action.type = 'goto' + action.keyStart = start for i = #Chunk, 1, -1 do local chunk = Chunk[i] |