From c12b1e6b89eead37334f5403ee3bbb9b85b7f884 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 28 May 2008 09:17:24 +0200 Subject: [PATCH] [build] Fix a bug in function name identifying Signed-off-by: Julien Danjou --- build-utils/gendoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-utils/gendoc.lua b/build-utils/gendoc.lua index 8d0fcfe2f..d3a477101 100755 --- a/build-utils/gendoc.lua +++ b/build-utils/gendoc.lua @@ -30,7 +30,7 @@ for i, line in ipairs(ilines) do comment_start = false local l = ilines[i + 2] local fctname - _, _, fctname = l:find("^(.+)%(") + _, _, fctname = l:find("^(.+)%(lua_State") if fctname then function_doc[fctname] = comment end