aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2011-06-23 23:37:14 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2011-06-23 23:37:14 -0400
commitba2c70911c3360be42ada8f97157eb74af36a678 (patch)
tree6733028ecbc070912bafee1abbc54d6c3f83a937 /scripts
parente22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8 (diff)
Tweak for recognizing absolute field tags; scripts/adeptsensedoc.lua
Diffstat (limited to 'scripts')
-rw-r--r--scripts/adeptsensedoc.lua2
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