diff --git a/build-utils/gendoc.lua b/build-utils/gendoc.lua index 8d0fcfe2..d3a47710 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