Changeset 8447


Ignore:
Timestamp:
02/02/05 16:50:04 (17 years ago)
Author:
piso
Message:

CANONICALIZE-DIRECT-SLOT: call MAYBE-NOTE-NAME-DEFINED for readers, writers and accessors.

File:
1 edited

Legend:

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

    r8430 r8447  
    22;;;
    33;;; Copyright (C) 2003-2005 Peter Graves
    4 ;;; $Id: clos.lisp,v 1.135 2005-01-31 17:27:18 piso Exp $
     4;;; $Id: clos.lisp,v 1.136 2005-02-02 16:50:04 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    136136             (setf documentation (cadr olist))) ;; FIXME documentation is ignored
    137137            (:reader
     138             (maybe-note-name-defined (cadr olist))
    138139             (push-on-end (cadr olist) readers))
    139140            (:writer
     141             (maybe-note-name-defined (cadr olist))
    140142             (push-on-end (cadr olist) writers))
    141143            (:accessor
     144             (maybe-note-name-defined (cadr olist))
    142145             (push-on-end (cadr olist) readers)
    143146             (push-on-end `(setf ,(cadr olist)) writers))
     
    155158          ,@(when writers `(:writers ',writers))
    156159          ,@other-options))))
     160
     161(defun maybe-note-name-defined (name)
     162  (when (fboundp 'jvm::note-name-defined)
     163    (jvm::note-name-defined name)))
    157164
    158165(defun canonicalize-direct-superclasses (direct-superclasses)
Note: See TracChangeset for help on using the changeset viewer.