dont try to get typedef in typedef struct

This commit is contained in:
Victor Bombi
2020-04-14 10:31:19 +02:00
parent ce302529e4
commit a99713a8ba

View File

@@ -800,8 +800,8 @@ function M.Parser()
linet = linet:gsub("typedef ","") linet = linet:gsub("typedef ","")
linet = linet:gsub("%(%*("..key..")%)","(*)") linet = linet:gsub("%(%*("..key..")%)","(*)")
self.typedefs_dict[key] = linet self.typedefs_dict[key] = linet
else elseif not line:match"typedef%s*struct" then --discard typedef struct
print("not found function typedef") print("typedef not found")
print(key,value,line) print(key,value,line)
end end
end end