Skip to content
Snippets Groups Projects
Commit e94dc7af authored by pmai's avatar pmai
Browse files

Change the condition that is signalled by odd-keyword-arguments-error

to be of type program-error, as required by section 3.5.1.6 of the
standard.  From a patch by Eric Marsden.
parent 269d69b0
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/interr.lisp,v 1.37 1999/05/01 04:32:45 dtc Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/interr.lisp,v 1.38 2001/10/27 17:41:49 pmai Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -301,9 +301,8 @@
:expected-type (layout-class layout)))
(deferr odd-keyword-arguments-error ()
(error 'simple-type-error
(error 'simple-program-error
:function-name name
:datum nil :expected-type nil
:format-control "Odd number of keyword arguments."))
(deferr unknown-keyword-argument-error (key)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment