projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
throw/catch uses CatchNLX object instead of plain object
[jscl.git]
/
src
/
prelude.js
diff --git
a/src/prelude.js
b/src/prelude.js
index
8f2c1b2
..
d9df2da
100644
(file)
--- a/
src/prelude.js
+++ b/
src/prelude.js
@@
-151,3
+151,17
@@
function js_to_lisp (x) {
});
} else return x;
}
+
+
+// Non-local exits
+
+function BlockNLX (id, values, name){
+ this.id = id;
+ this.values = values;
+ this.name = name;
+}
+
+function CatchNLX (id, values){
+ this.id = id;
+ this.values = values;
+}