diff options
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index eca24c57..6e8500ba 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -12,10 +12,10 @@ Main <- (Token / Sp)* Sp <- %s+ X16 <- [a-fA-F0-9] Word <- [a-zA-Z0-9_] -Token <- Name / String / Symbol / Integer -Name <- ({} {[a-zA-Z_] [a-zA-Z0-9_.*-]*} {}) +Token <- Integer / Name / String / Symbol +Name <- ({} {[a-zA-Z_0-9] [a-zA-Z0-9_.*-]*} {}) -> Name -Integer <- ({} {[0-9]+} {}) +Integer <- ({} {[0-9]+} !'.' {}) -> Integer String <- ({} StringDef {}) -> String |