From 609420871a3b63fbe2d2d9cc441a3efbc958cdde Mon Sep 17 00:00:00 2001 From: David Vazquez Date: Thu, 20 Dec 2012 17:52:36 +0000 Subject: [PATCH] error is an expression now --- lispstrack.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lispstrack.lisp b/lispstrack.lisp index 90b723f..38b6f96 100644 --- a/lispstrack.lisp +++ b/lispstrack.lisp @@ -530,7 +530,7 @@ ")")) (define-compilation error (string) - (concat "console.error(" (ls-compile string env fenv) ")")) + (concat "(function (){ throw " (ls-compile string env fenv) ";" "return 0;})()")) (define-compilation new () "{}") -- 1.7.10.4