luac-parser-rs
luac-parser-rs copied to clipboard
TFORLOOP 5.1 problem
When given the following script:
for i in ipairs(_table) do
end
Metaworm's luadec generates the following result:
-- error: decompile function#0: generate_block
--
-- Caused by:
-- conditional block should not has goto statement
This only happens on Lua 5.1, where there are no instructions between JMP and TFORLOOP.
Thank you for your meticulous testing. I have fixed many issues you reported, but it has also introduced new problems. I need some more time to continue refining before I can release it.