Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TFORLOOP 5.1 problem #24

Open
toxamin opened this issue Nov 2, 2023 · 1 comment
Open

TFORLOOP 5.1 problem #24

toxamin opened this issue Nov 2, 2023 · 1 comment

Comments

@toxamin
Copy link
Contributor

toxamin commented Nov 2, 2023

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.

@metaworm
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants