projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #9: CATCH/THROW and BLOCK/RETURN-FROM support multiple values
[jscl.git]
/
ecmalisp.html
diff --git
a/ecmalisp.html
b/ecmalisp.html
index
56d7c55
..
110a686
100644
(file)
--- a/
ecmalisp.html
+++ b/
ecmalisp.html
@@
-82,7
+82,10
@@
// Output input with the class jqconsole-return.
if (input[0] != ','){
try {
// Output input with the class jqconsole-return.
if (input[0] != ','){
try {
- jqconsole.Write(lisp.print(pv, lisp.evalString(pv, input)) + '\n', 'jqconsole-return');
+ var vs = lisp.evalString(mv, input);
+ for (var i=0; i<vs.length; i++){
+ jqconsole.Write(lisp.print(pv, vs[i]) + '\n', 'jqconsole-return');
+ }
} catch(error) {
jqconsole.Write('ERROR: ' + (error.message || error) + '\n', 'jqconsole-error');
}
} catch(error) {
jqconsole.Write('ERROR: ' + (error.message || error) + '\n', 'jqconsole-error');
}