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

Add support for Lua 5.2 via Cobalt#50 #990

Closed
wants to merge 4 commits into from

Conversation

MCJack123
Copy link
Contributor

@MCJack123 MCJack123 commented Dec 16, 2021

This PR implements the necessary CC-side changes to implement Lua 5.2 in CC, following cc-tweaked/Cobalt#50. It adds the disableGotoStatement config option, which makes goto always act like a name for compatibility, disabling its functionality.

This does not build at the moment since cc-tweaked/Cobalt#50 hasn't landed and isn't on the Maven. However, you can still test it by replacing the shade line for Cobalt with shade files('../path/to/Cobalt.jar').

@Lupus590
Copy link
Contributor

Well now I have to adjust cc:n to use this pr.

@SquidDev SquidDev added enhancement An extension of a feature or a new feature. area-Core This affects CC's core (the Lua runtime, APIs, computer internals). labels Jan 2, 2022
@SquidDev SquidDev closed this Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Core This affects CC's core (the Lua runtime, APIs, computer internals). enhancement An extension of a feature or a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants