[build] Fix a bug in function name identifying

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-28 09:17:24 +02:00
parent 46603a108a
commit c12b1e6b89
1 changed files with 1 additions and 1 deletions

View File

@ -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