remove static char EmptyString lines

This commit is contained in:
sonoro1234
2018-11-27 12:07:56 +01:00
parent df00156746
commit 2c10d47b9a
5 changed files with 6 additions and 11 deletions

View File

@@ -411,6 +411,10 @@ local function struct_parser()
table.insert(structcdefs,line)
return
end
if line:match"^%s*static char" then
assert(line:match"EmptyString",line)
return --skip that static chat EmtyString
end
--if in_function discard
if in_functionst then
@@ -434,7 +438,7 @@ local function struct_parser()
elseif line:match("public:") then
--nothing
else
local linea = line:gsub("%S+",{class="struct",mutable="",static=""})
local linea = line:gsub("%S+",{class="struct",mutable=""})
local template = linea:match("ImVector<(.+)>")
if template then
local te = template:gsub("%s","_")