From ba2c70911c3360be42ada8f97157eb74af36a678 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 23 Jun 2011 23:37:14 -0400 Subject: Tweak for recognizing absolute field tags; scripts/adeptsensedoc.lua --- scripts/adeptsensedoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/adeptsensedoc.lua') 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 -- cgit v1.2.3