diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-13 18:57:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-13 18:57:41 -0700 |
commit | b5e53f4e1759ad04d2d1fcd841c1164ceab4364c (patch) | |
tree | 891320d479366f8a02fc4f82c90fb5c2f75771e9 /src/compiler.js | |
parent | 02b5bd72bd7b4248d0f57595f511a7371f836ae4 (diff) |
--js-library option to make it easy to add additional library_*.js files
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js index 29ae47dd..4442e38e 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -114,6 +114,7 @@ load('settings.js'); var settings_file = arguments_[0]; var ll_file = arguments_[1]; +additionalLibraries = Array.prototype.slice.call(arguments_, 2); if (settings_file) { var settings = JSON.parse(read(settings_file)); @@ -122,6 +123,7 @@ if (settings_file) { } } + if (CORRECT_SIGNS >= 2) { CORRECT_SIGNS_LINES = set(CORRECT_SIGNS_LINES); // for fast checking } |