You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
It seems that // #ifdef and // #ifndef only work together with the passed defines (!!!!) and that // #define ONLY works together with put!!!! That is completely not what I expected.
This really is a problem and together with the include_once issue makes this preprocessor nearly useless for me. I could emulate include_once if this would work (just like in c).
Deprecation notice: Preprocessor.js has been deprecated in favor of MetaScript, a much more JavaScripty way for build time meta programming using JavaScript itself as the meta language. Check out the migration guide to get a quick impression of its merits.
Activity
tomByrer commentedon Aug 22, 2014
How about
// #define var X=1?simonseyock commentedon Oct 8, 2014
It also doesn't work with var!!!!
It seems that
// #ifdefand// #ifndefonly work together with the passed defines (!!!!) and that// #defineONLY works together with put!!!! That is completely not what I expected.This really is a problem and together with the include_once issue makes this preprocessor nearly useless for me. I could emulate include_once if this would work (just like in c).
dcodeIO commentedon Oct 8, 2014
Deprecation notice: Preprocessor.js has been deprecated in favor of MetaScript, a much more JavaScripty way for build time meta programming using JavaScript itself as the meta language. Check out the migration guide to get a quick impression of its merits.
tomByrer commentedon Oct 9, 2014
Awesome!
Add test for dcodeIO/Preprocessor.js#11