-
Notifications
You must be signed in to change notification settings - Fork 17
Advanced preprocessor features #8
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
base: master
Are you sure you want to change the base?
Advanced preprocessor features #8
Conversation
Version check uses string comparisons instead of semver comparison, makes it have higher risk of false matches |
Oh, I guess then I'd have to redo the method of getting variables in dynamic instead of string and do a version of the conversion via semver, only then you might have to duplicate the converter in hscript if the user doesn't have the semver library, but I don't know. |
You can include the semver in the code directly just credit the original source also i recommend checking the haxe source code because it assumes its a version iirc |
This is peak. |
Fyi you need the defines macro, you might be missing it, check codename for that |
==
,!=
,<=
,<
,>=
and>
.0
andfalse
as true.