Changeset 5044


Ignore:
Timestamp:
12/10/03 02:59:30 (18 years ago)
Author:
piso
Message:

CANONICALIZE-DIRECT-SLOT: check for duplicate :DOCUMENTATION options.

File:
1 edited

Legend:

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

    r5043 r5044  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: clos.lisp,v 1.24 2003-12-10 02:54:40 piso Exp $
     4;;; $Id: clos.lisp,v 1.25 2003-12-10 02:59:30 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    9595            (initargs ())
    9696            (type nil)
     97            (documentation nil)
    9798            (readers ())
    9899            (writers ())
     
    116117                      "duplicate slot option :TYPE for slot named ~S"
    117118                      name))
    118              (setf type (cadr olist)))
     119             (setf type (cadr olist))) ;; FIXME type is ignored
     120            (:documentation
     121             (when documentation
     122               (error 'program-error
     123                      "duplicate slot option :DOCUMENTATION for slot named ~S"
     124                      name))
     125             (setf documentation (cadr olist))) ;; FIXME documentation is ignored
    119126            (:reader
    120127             (push-on-end (cadr olist) readers))
Note: See TracChangeset for help on using the changeset viewer.