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

DIRECTOR: handle method end statements #3547

Merged
merged 1 commit into from Nov 20, 2021

Conversation

@mistydemeo
Copy link
Contributor

@mistydemeo mistydemeo commented Nov 17, 2021

This change was suggested by @djsrv. It turns out that methods can have multiple optional end statements, which seem to carry no semantic meaning. One game I was looking at used methods written like:

method name
    # etc
end method

Which was leading to a parse error.

This, alongside #3545, is one of the three fixes needed to get Difficult Book Game/henachoco03 to full working status.

Co-authored-by: djsrv <dservilla@gmail.com>
@sev-
Copy link
Member

@sev- sev- commented Nov 20, 2021

Thank you!

Loading

@sev- sev- merged commit 8e5702b into scummvm:master Nov 20, 2021
8 checks passed
Loading
@mistydemeo mistydemeo deleted the director_handle_method_end branch Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants