diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-01 15:38:48 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-01 15:38:48 -0800 |
commit | fe80f74127650c4e51ea72975fdc5e3b631843db (patch) | |
tree | b12a8aea67e3909ed7ee1526a915ede869de4b0d | |
parent | 2b534217bf1fb1cfd38f26d1e7f23af262ae2eac (diff) |
support function pointers in multiphase
-rw-r--r-- | src/modules.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.js b/src/modules.js index dd027f73..b31567be 100644 --- a/src/modules.js +++ b/src/modules.js @@ -238,7 +238,7 @@ var Functions = { // Mark a function as needing indexing. Python will coordinate them all getIndex: function(ident) { - if (phase != 'post') { + if (phase != 'post' && singlePhase) { this.indexedFunctions[ident] = 0; // tell python we need this indexized return '{{{ FI_' + ident + ' }}}'; // something python will replace later } else { |