summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-07-08 18:40:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-07-08 18:40:07 +0800
commit210288995298fae946468523f5cbcf7e2ed69d68 (patch)
treea95241b8d275bc19f75361452cbd779256961e43 /script/parser
parentef87faf3cfca7654095b2c167e0faa20837b1080 (diff)
downloadlua-language-server-210288995298fae946468523f5cbcf7e2ed69d68.zip
显示十进制的数字
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/ast.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/ast.lua b/script/parser/ast.lua
index 38cd8576..af2c76c9 100644
--- a/script/parser/ast.lua
+++ b/script/parser/ast.lua
@@ -499,6 +499,7 @@ local Defs = {
start = start,
finish = finish - 1,
[1] = n,
+ [2] = number,
}
return State.LastNumber
else