diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-10 18:31:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-10 18:31:22 +0800 |
commit | 47e84995fda8b3ac1a196cb2c157d45ea9e3dbc0 (patch) | |
tree | c34709bacf793a9d979caa949ff75f4fd369b85e | |
parent | 2bef8976c5deed6e0ab00a2ef74cbb24e4b6dd46 (diff) | |
download | lua-language-server-47e84995fda8b3ac1a196cb2c157d45ea9e3dbc0.zip |
修正bug
-rw-r--r-- | script-beta/parser/ast.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script-beta/parser/ast.lua b/script-beta/parser/ast.lua index dfd7656d..42bbb751 100644 --- a/script-beta/parser/ast.lua +++ b/script-beta/parser/ast.lua @@ -1111,6 +1111,8 @@ local Defs = { } end end + attrs.start = attrs[1].start + attrs.finish = attrs[#attrs].finish return attrs end, LocalName = function (name, attrs) |