Ignore:
Timestamp:
12/10/03 14:52:25 (18 years ago)
Author:
piso
Message:

CANONICALIZE-DEFCLASS-OPTION: signal error if option is invalid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/clos.lisp

    r5050 r5052  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: clos.lisp,v 1.27 2003-12-10 14:29:55 piso Exp $
     4;;; $Id: clos.lisp,v 1.28 2003-12-10 14:52:25 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    177177                    `(',key ,(make-initfunction value)))
    178178                 (cdr option))))))
     179    (:documentation
     180     (list (car option) `',(cadr option)))
    179181    (t
    180      (list `',(car option) `',(cadr option)))))
     182     (error 'program-error
     183            "invalid DEFCLASS option ~S"
     184            (car option)))))
    181185
    182186(defun make-initfunction (initform)
Note: See TracChangeset for help on using the changeset viewer.