diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-02 13:37:24 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-02 13:37:24 -0800 |
commit | d2b0d9924aa9a3603b0b16bd957832faf503c32d (patch) | |
tree | df1b2431d5c2a67756891cbfcc949da524791dc2 /src/analyzer.js | |
parent | 12e85d4ab3fb0447d60165c6ca00296ae0fce9ce (diff) |
various fixes from js strict mode testing
Diffstat (limited to 'src/analyzer.js')
-rw-r--r-- | src/analyzer.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/analyzer.js b/src/analyzer.js index d8d285c4..7e3038cf 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -1,10 +1,12 @@ +//"use strict"; + // Analyze intertype data. Calculates things that are necessary in order // to do the final conversion into JavaScript later, for example, // properties of variables, loop structures of functions, etc. -VAR_NATIVE = 'native'; -VAR_NATIVIZED = 'nativized'; -VAR_EMULATED = 'emulated'; +var VAR_NATIVE = 'native'; +var VAR_NATIVIZED = 'nativized'; +var VAR_EMULATED = 'emulated'; function cleanFunc(func) { func.lines = func.lines.filter(function(line) { return line.intertype !== null }); |