2.0.1
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