[movitz-cvs] CVS movitz/losp/muerte

ffjeld ffjeld at common-lisp.net
Thu Apr 17 19:32:27 UTC 2008


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory clnet:/tmp/cvs-serv14362

Modified Files:
	conditions.lisp 
Log Message:
Add defun simple-program-error.


--- /project/movitz/cvsroot/movitz/losp/muerte/conditions.lisp	2008/04/09 18:01:36	1.26
+++ /project/movitz/cvsroot/movitz/losp/muerte/conditions.lisp	2008/04/17 19:32:27	1.27
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Wed Nov 20 15:47:04 2002
 ;;;;                
-;;;; $Id: conditions.lisp,v 1.26 2008/04/09 18:01:36 ffjeld Exp $
+;;;; $Id: conditions.lisp,v 1.27 2008/04/17 19:32:27 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -102,6 +102,11 @@
 
 (define-condition program-error (error) ())
 
+(defun simple-program-error (format-control &rest format-arguments)
+  (error 'program-error
+	 :format-control format-control
+	 :format-argumetns format-arguments))
+
 (define-condition type-error (error)
   ((expected-type
     :initarg :expected-type




More information about the Movitz-cvs mailing list