throw/catch uses CatchNLX object instead of plain object
[jscl.git] / src / compat.lisp
index d682604..3af42d0 100644 (file)
        ((not ,condition))
      ,@body))
 
-(defmacro eval-when-compile (&body body)
-  `(eval-when (:compile-toplevel :load-toplevel :execute)
-     ,@body))
-
 (defun aset (array idx value)
   (setf (aref array idx) value))
 
-(eval-when-compile
+(eval-when (:compile-toplevel :load-toplevel :execute)
   (defun concat (&rest strs)
     (apply #'concatenate 'string strs)))
 
 (defun /debug (x)
-  (write-line x))
+  (declare (ignorable x))
+  ;; (write-line x)
+  )