cpp2ffi: dont error on not loca

This commit is contained in:
sonoro1234
2023-01-09 09:57:43 +01:00
parent 18e5891710
commit 5a857ee68d

View File

@@ -436,10 +436,11 @@ local function parseItems(txt,linenumdict, itparent, dumpit)
-- end -- end
--error"no entry in linenumdict" --error"no entry in linenumdict"
--take locat from parent --take locat from parent
if itparent.locat then if itparent and itparent.locat then
loca = itparent.locat loca = itparent.locat
else else
error"no entry in linenumdict" loca = 0
--error"no entry in linenumdict"
end end
end end
else else