Skip to content

2.0.1

Compare
Choose a tag to compare
@AndrewRayCode AndrewRayCode released this 08 Oct 20:29
· 71 commits to main since this release
npm install --save @shaderfrog/[email protected]

Fixes a bug in the preprocessor that caused incorrect evaluation of #ifdef macros if they appeared inside an #else macro body.

Also fixed a bug where an empty macro (#define MACRO) was expanding to null rather than empty string.

You can see the macro syntax that triggered both of these bugs in the new unit tests added in this commit: 2c5d60a#diff-da981791d0e4f58af60303bcfe9662e76592a0c07cbd75271080a9f3669e4fa6