summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-07 09:44:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-07 09:44:53 +0800
commit2718985dff1312d47cc80077e9d2068a33ca9f6e (patch)
tree865516074021a8c65136ed356712a6698f303498
parent01b0740d251a7fd62a64c1443ba969c95c55c3ab (diff)
downloadlua-language-server-2718985dff1312d47cc80077e9d2068a33ca9f6e.zip
更新语法解析
-rw-r--r--server/src/parser/ast.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua
index ae46e660..d08db694 100644
--- a/server/src/parser/ast.lua
+++ b/server/src/parser/ast.lua
@@ -83,14 +83,6 @@ local defs = {
}
return ''
end
- if #char > 6 then
- pushError {
- type = 'UTF8_LARGE',
- start = pos-3,
- finish = pos+#char,
- }
- return ''
- end
local v = tonumber(char, 16)
if not v then
for i = 1, #char do