aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-09 13:03:37 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-09 13:03:37 -0700
commit64b7b12a0496e474f1bcb34a947781dcd4cc0560 (patch)
tree18d9fc6d2faf9ed0d6598c643faef70d4f57ef23 /src/preamble.js
parent4776303a18c49351ce151103629d32dca8949fb1 (diff)
parent39cf1e36ab14c621f1e446010afbec21a8b10dbb (diff)
Merge pull request #1489 from inolen/exit_status_fixes
exit status fixes
Diffstat (limited to 'src/preamble.js')
-rw-r--r--src/preamble.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 585db832..95bf2dc2 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -241,6 +241,7 @@ var setjmpLabels = {};
#endif
var ABORT = false; // whether we are quitting the application. no code should run after this. set in exit() and abort()
+var EXITSTATUS = 0;
var undef = 0;
// tempInt is used for 32-bit signed values or smaller. tempBigInt is used