show arg detection failures

This commit is contained in:
sonoro1234
2018-10-04 16:27:49 +02:00
parent 9846ee640f
commit 9ae5a207f6

View File

@@ -498,14 +498,17 @@ local function func_parser()
else
type,name = arg:match("(.+)%s([^%s]+)")
end
--if not type or not name then print(funcname,type,name,argscsinpars,arg) end
if not type or not name then
print("failure arg detection",funcname,type,name,argscsinpars,arg)
--float name[2] to float[2] name
local siz = name:match("(%[%d*%])")
else
if siz then
type = type..siz
name = name:gsub("(%[%d*%])","")
end
end
end
table.insert(argsArr,{type=type,name=name,ret=retf,signature=sigf})
if arg:match("&") and not arg:match("const") then
print(funcname,argscsinpars)