forked from HaxeFoundation/hscript
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
So when using preprocessors (#if #end), there is a "bug" where setting a custom preprocessor to false or 0
#if THIS_IS_FALSE //doesn't matter if this is set to `false` or `0`, it will still run
trace("hello");
#endThis will trace the message
I kinda figured that it would only check if the preprocessor exists and not check it's property (especially since doing things like #if(hxvlc >= "1.9.2") or version checking doesn't work altogether) So I kinda just thought it would be nice if the parser would check it's property and could have the ability to check version like above.
Metadata
Metadata
Assignees
Labels
No labels

