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

Compiler: Add end; operations as the last op for all routines #42

Open
theCapypara opened this issue Jun 27, 2024 · 1 comment
Open

Comments

@theCapypara
Copy link
Member

This will prevent memory unsafeness when the game encounters routines where the user forgot to insert an end/hold/return at the end of the routine.

@theCapypara
Copy link
Member Author

I began to draft this at the branch fix-42 + skytemple-files branch explorerscript-fix-42.
However it mostly breaks the flow checks with custom scripts that didn't end properly and there seems to be at least one coroutine in the base game which is also not playing along...

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

1 participant