- Timestamp:
- 07/15/10 22:06:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generic-class-file/abcl/src/org/armedbear/lisp/clos.lisp
r12758 r12807 210 210 (push-on-end `(setf ,(cadr olist)) writers)) 211 211 (t 212 (push-on-end (car olist) non-std-options)212 (push-on-end `(quote ,(car olist)) non-std-options) 213 213 (push-on-end (cadr olist) non-std-options)))) 214 ; (error 'program-error215 ; "invalid initialization argument ~S for slot named ~S"216 ; (car olist) name))217 214 `(list 218 215 :name ',name … … 260 257 ((:documentation :report) 261 258 (list (car option) `',(cadr option))) 262 (t (list (car option) `(quote ,(cdr option)))))) 263 ; (error 'program-error 264 ; :format-control "invalid DEFCLASS option ~S" 265 ; :format-arguments (list (car option)))))) 259 (t (list `(quote ,(car option)) `(quote ,(cdr option)))))) 266 260 267 261 (defun make-initfunction (initform) … … 338 332 (writers ()) 339 333 (allocation :instance) 340 (allocation-class nil) 341 &allow-other-keys) 334 (allocation-class nil)) 342 335 (setf (slot-definition-name slot) name) 343 336 (setf (slot-definition-initargs slot) initargs) … … 2340 2333 (declare (ignore name initargs initform initfunction readers writers allocation)) 2341 2334 ;;For built-in slots 2342 (apply #'init-slot-definition slot args)2335 (apply #'init-slot-definition slot :allow-other-keys t args) 2343 2336 ;;For user-defined slots 2344 2337 (call-next-method))
Note: See TracChangeset
for help on using the changeset viewer.