We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139d545 commit 704502fCopy full SHA for 704502f
src/parseTools.js
@@ -43,6 +43,10 @@ function preprocess(text, filenameHint) {
43
if (line[2] == 'f') { // if
44
var parts = line.split(' ');
45
var after = parts.slice(1).join(' ');
46
+ // FIXME: temporary workaround for embind preprocessing issue that will be fixed by https://github.com/kripken/emscripten/pull/7653
47
+ if (after === 'NO_DYNAMIC_EXECUTION') {
48
+ after = 'DYNAMIC_EXECUTION == 0';
49
+ }
50
var truthy = !!eval(after);
51
showStack.push(truthy);
52
} else if (line[2] == 'n') { // include
0 commit comments