summaryrefslogtreecommitdiff
path: root/script/parser/grammar.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-07-21 16:26:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-07-21 16:26:37 +0800
commit310cfe965d56d0b157e2cfd0cb43900454f958b2 (patch)
tree8c26fd1e4f9525081e85c3f8b6340530ac96194c /script/parser/grammar.lua
parent7cc24573d94b343a23ed2e0f9c00e4840dbbdd35 (diff)
downloadlua-language-server-310cfe965d56d0b157e2cfd0cb43900454f958b2.zip
EmmyName 支持中间带 .
Diffstat (limited to 'script/parser/grammar.lua')
-rw-r--r--script/parser/grammar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/grammar.lua b/script/parser/grammar.lua
index 568b8544..e5d5ee69 100644
--- a/script/parser/grammar.lua
+++ b/script/parser/grammar.lua
@@ -535,7 +535,7 @@ EmmyBody <- 'class' %s+ EmmyClass -> EmmyClass
/ 'overload' %s+ EmmyOverLoad -> EmmyOverLoad
/ EmmyIncomplete
-EmmyName <- ({} {[a-zA-Z_] [a-zA-Z0-9_]*})
+EmmyName <- ({} {[a-zA-Z_] [a-zA-Z0-9_.]*})
-> EmmyName
MustEmmyName <- EmmyName / DirtyEmmyName
DirtyEmmyName <- {} -> DirtyEmmyName