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

Legacy modes support for native scripts #257

Merged
merged 5 commits into from
Dec 31, 2024

Conversation

MiranDMC
Copy link
Collaborator

@MiranDMC MiranDMC commented Dec 28, 2024

cleo_config.ini now has option to enable legacy scripts modes for native scripts (main.scm).
Unified way of queering script version (with CLEO_GetScriptVersion).
Removed duplicated assignments of script version and debug mode properties, as these are already handled by CCustomScript constructor.

To test legacy modes in main script use:
$a = pow {number} 1 {power} 2.0
Number argument is supposed to be float, error message is not displayed in legacy modes.

Added legacy option for native scripts to config.ini
@MiranDMC MiranDMC requested a review from x87 December 28, 2024 18:39
@MiranDMC MiranDMC merged commit 1ba70ec into master Dec 31, 2024
1 check passed
@MiranDMC MiranDMC deleted the Legacy_modes_support_for_native_scripts branch December 31, 2024 13:24
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

Successfully merging this pull request may close these issues.

2 participants