From 33cf8afd56aead28f9302531bdec60455f926dbe Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Mon, 28 Oct 2013 14:24:24 +0100 Subject: [PATCH] Do not mangle module name with an underscore in debug log Signed-off-by: Tobias Ulmer --- generic/trace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/trace.lua b/generic/trace.lua index 2c9cecf..516e53d 100644 --- a/generic/trace.lua +++ b/generic/trace.lua @@ -39,7 +39,7 @@ local function tracer(event, line) -- DEBUG: comment this to see all C calls. return else - module = string.match(ftbl.source, "(%w+%.)lua$") + module = string.match(ftbl.source, "([^/]+%.)lua$") if module == nil then module = "." -- DEBUG: comment this to see all unknown calls. -- 2.39.5