mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-14 05:38:29 +01:00
dont try to get typedef in typedef struct
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user