mirror of
https://github.com/cimgui/cimgui.git
synced 2025-10-09 03:11:40 +01:00
avoid last , in enums parsing
This commit is contained in:
@@ -1094,9 +1094,11 @@ function M.Parser()
|
||||
else --should be string
|
||||
value = prevvalue .. "+1"
|
||||
end
|
||||
if name then --avoid last , if present
|
||||
table.insert(outtab.enums[enumname],{name=name,value=value})
|
||||
end
|
||||
end
|
||||
end
|
||||
elseif it.re_name == "struct_re" then
|
||||
local cleanst,structname,strtab = self:clean_struct(it.item)
|
||||
--if not void stname or templated
|
||||
|
Reference in New Issue
Block a user