diff options
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/guide.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index e8a53240..391dd3ad 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -81,6 +81,9 @@ local m = {} m.ANY = {"<ANY>"} +m.namePattern = '[%a_\x80-\xff][%w_\x80-\xff]*' +m.namePatternFull = '^' .. m.namePattern .. '$' + local blockTypes = { ['while'] = true, ['in'] = true, |