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("%(%*("..key..")%)","(*)")
self.typedefs_dict[key] = linet
else
print("not found function typedef")
elseif not line:match"typedef%s*struct" then --discard typedef struct
print("typedef not found")
print(key,value,line)
end
end