rokucommunity / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
4 stars 2 forks source link

Negation in Conditional Compilation is not supported #57

Open lvcabral opened 3 months ago

lvcabral commented 3 months ago

It appears syntax like #if NOT ENABLE_FEATURE is valid during conditional compilation in the reference BrightScript implementation, but not in brs. Fixing that will require the conditional compilation processor to get a bit more intelligent, but hopefully it's not a major change.

Originally reported by @triwav !