diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-05 15:23:06 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-05 15:23:06 +0800 |
commit | 598d81b133c36a7bf392c8f9c22007b00a387e1e (patch) | |
tree | a2e8880cc34fb8ca107fae083b73ee682852b172 /script | |
parent | 6b0d81352225c5d383f0f81eadae24915bc40116 (diff) | |
download | lua-language-server-598d81b133c36a7bf392c8f9c22007b00a387e1e.zip |
update
Diffstat (limited to 'script')
-rw-r--r-- | script/parser/newparser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua index c2ea8d13..7ff5dca9 100644 --- a/script/parser/newparser.lua +++ b/script/parser/newparser.lua @@ -2082,7 +2082,7 @@ local function parseActions() end end if action then - if action.type == 'return' then + if not rtn and action.type == 'return' then rtn = action end last = action |