summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-04 12:48:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-04 12:48:03 +0800
commit923fcd8fe3e5ce1f140446482394eb2eb7261d8d (patch)
tree0a1e46420078f5b6a955542c9c19bac0044f0e92 /script/parser
parente44b3de412d136bc14a5b43740297cd3aa4a67b9 (diff)
downloadlua-language-server-923fcd8fe3e5ce1f140446482394eb2eb7261d8d.zip
fix #274
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/guide.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 7ea42798..df5c5c45 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -733,8 +733,9 @@ function m.getKeyNameOfLiteral(obj)
else
return 'b'
end
+ else
+ return 'x'
end
- return nil
end
function m.getKeyName(obj)