aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.js b/src/modules.js
index 2775bfbd..c5c0db88 100644
--- a/src/modules.js
+++ b/src/modules.js
@@ -261,6 +261,7 @@ var Functions = {
if (!doNotCreate) this.indexedFunctions[ident] = 0; // tell python we need this indexized
return "'{{ FI_" + toNiceIdent(ident) + " }}'"; // something python will replace later
} else {
+ if (!singlePhase) return 'NO_INDEX'; // Should not index functions in post
var ret = this.indexedFunctions[ident];
if (!ret) {
if (doNotCreate) return '0';