diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-14 15:49:06 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-14 15:49:06 +0800 |
commit | cb8bcd478129c490a2635d0b938de1e2d7c774d2 (patch) | |
tree | cb8ed24bb711b8170ae8fd26fab17a25edc28a86 /script/parser/luadoc.lua | |
parent | 1a682cdf32775f1e21bc76a17e168df67acb35c2 (diff) | |
download | lua-language-server-cb8bcd478129c490a2635d0b938de1e2d7c774d2.zip |
fix #1330
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index e8a6d2b3..37a1843d 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -19,7 +19,7 @@ X16 <- [a-fA-F0-9] Token <- Integer / Name / String / Code / Symbol Name <- ({} {%name} {}) -> Name -Integer <- ({} {[0-9]+} !'.' {}) +Integer <- ({} {'-'? [0-9]+} !'.' {}) -> Integer Code <- ({} '`' { (!'`' .)*} '`' {}) -> Code |