When a CASE expression is in the return position of a function and it
contains an empty clause that is not the last clause, a syntax error is
produced:

(lambda () (case x (:foo) (:bar)))
  =>
function () {
    switch (x) {
    case 'foo':
        return break;
    case 'bar':
        return null;
    };
};
  =>
SyntaxError: Unexpected token break

    Scott

_______________________________________________
parenscript-devel mailing list
[email protected]
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel

Reply via email to