diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-07-21 16:26:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-07-21 16:26:37 +0800 |
commit | 310cfe965d56d0b157e2cfd0cb43900454f958b2 (patch) | |
tree | 8c26fd1e4f9525081e85c3f8b6340530ac96194c /script/parser | |
parent | 7cc24573d94b343a23ed2e0f9c00e4840dbbdd35 (diff) | |
download | lua-language-server-310cfe965d56d0b157e2cfd0cb43900454f958b2.zip |
EmmyName 支持中间带 .
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/grammar.lua | 2 |
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 |