mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
cpp2ffi: dont error on not loca
This commit is contained in:
@@ -436,10 +436,11 @@ local function parseItems(txt,linenumdict, itparent, dumpit)
|
||||
-- end
|
||||
--error"no entry in linenumdict"
|
||||
--take locat from parent
|
||||
if itparent.locat then
|
||||
if itparent and itparent.locat then
|
||||
loca = itparent.locat
|
||||
else
|
||||
error"no entry in linenumdict"
|
||||
loca = 0
|
||||
--error"no entry in linenumdict"
|
||||
end
|
||||
end
|
||||
else
|
||||
|
Reference in New Issue
Block a user