[build] Fix a bug in function name identifying
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
46603a108a
commit
c12b1e6b89
|
@ -30,7 +30,7 @@ for i, line in ipairs(ilines) do
|
||||||
comment_start = false
|
comment_start = false
|
||||||
local l = ilines[i + 2]
|
local l = ilines[i + 2]
|
||||||
local fctname
|
local fctname
|
||||||
_, _, fctname = l:find("^(.+)%(")
|
_, _, fctname = l:find("^(.+)%(lua_State")
|
||||||
if fctname then
|
if fctname then
|
||||||
function_doc[fctname] = comment
|
function_doc[fctname] = comment
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue