diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-11 19:31:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-11 19:31:04 +0800 |
commit | 91af49cdfd292b7e479e6e0327d04c436256ed7b (patch) | |
tree | 20c15d08d5db62e95505b9895bb15cdf01c58a1c /server-beta/src/parser | |
parent | 8f5bc53c9fd5d289cf82e5dfb55a8e9912fb8e82 (diff) | |
download | lua-language-server-91af49cdfd292b7e479e6e0327d04c436256ed7b.zip |
过单文件 reference 测试
Diffstat (limited to 'server-beta/src/parser')
-rw-r--r-- | server-beta/src/parser/ast.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/parser/ast.lua b/server-beta/src/parser/ast.lua index a54ef937..a87d9acc 100644 --- a/server-beta/src/parser/ast.lua +++ b/server-beta/src/parser/ast.lua @@ -706,7 +706,7 @@ local Defs = { type = 'binary', op = op, start = left.start, - finish = right.finish, + finish = right and right.finish or op.finish, [1] = left, [2] = right, } |