diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-27 09:51:36 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-27 09:51:36 -0800 |
commit | 6782b5e97fcfb6a6da94b9ecc2fa57b76e943206 (patch) | |
tree | 42cc44c1b90a7af08b98de4d592029c8648a3db5 /src/intertyper.js | |
parent | 9d20f0799c3eb4136e2048274bf523cb9a81ed1e (diff) |
switch to all or nothing named globals, and add testing
Diffstat (limited to 'src/intertyper.js')
-rw-r--r-- | src/intertyper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index dbd5f458..124dbeb8 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -507,7 +507,7 @@ function intertyper(data, sidePass, baseLineNums) { private_: private_, lineNum: item.lineNum }; - if (NUM_NAMED_GLOBALS >= 0) { + if (!NAMED_GLOBALS) { Variables.globals[ret.ident].type = ret.type; } Types.needAnalysis[ret.type] = 0; |