aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authorAleksander Guryanov <caiiiycuk@gmail.com>2013-01-12 13:29:12 +0700
committerAleksander Guryanov <caiiiycuk@gmail.com>2013-01-17 21:16:26 +0700
commit4899a836579f064a0aa0df3b56fa15b3d4e04012 (patch)
tree0bc6283d2a5da4bdf7deb9ef75c55f4b7a0f5762 /src/parseTools.js
parentb6db6d7698dcfcf7878891027c0e4b3ac31e5bda (diff)
Implement exceptions in whitelist
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 8fded758..b346b8a7 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -1681,7 +1681,7 @@ function makeStructuralAccess(ident, i) {
}
function makeThrow(what) {
- return 'throw ' + what + (DISABLE_EXCEPTION_CATCHING ? ' + " - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 to catch."' : '') + ';';
+ return 'throw ' + what + (DISABLE_EXCEPTION_CATCHING == 1 ? ' + " - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."' : '') + ';';
}
// From parseLLVMSegment