diff options
Diffstat (limited to 'scripts/adeptsensedoc.lua')
-rw-r--r-- | scripts/adeptsensedoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/adeptsensedoc.lua b/scripts/adeptsensedoc.lua index 88d3eba9..86c761c9 100644 --- a/scripts/adeptsensedoc.lua +++ b/scripts/adeptsensedoc.lua @@ -134,7 +134,7 @@ function start(doc) if field then add_field() end field, docs = {}, {} local name, doc = line:match('^%-%- %* `([^`]+)`([^\r\n]*)') - field.module = name:match('^_G%.([%w_]+)%.') or module or + field.module = name:match('^_G%.(.-)%.[^%.]+$') or module or name:match('^[^%.]+') field.name = name:match('[^%.]+$') if doc ~= '' then |