X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fkmr-mop.lisp;h=c628dc2d6c98b9079af6884f440ffc48a6801660;hp=530bee4acd3446a87d3a9eb355f38b35e27ddb51;hb=refs%2Ftags%2Fv3.8.6;hpb=8a8ee2d7d791b7a3efaed06420802a925d16fca3 diff --git a/sql/kmr-mop.lisp b/sql/kmr-mop.lisp index 530bee4..c628dc2 100644 --- a/sql/kmr-mop.lisp +++ b/sql/kmr-mop.lisp @@ -25,8 +25,8 @@ (defmacro process-class-option (metaclass slot-name &optional required) #+lispworks `(defmethod clos:process-a-class-option ((class ,metaclass) - (name (eql ,slot-name)) - value) + (name (eql ,slot-name)) + value) (when (and ,required (null value)) (error "metaclass ~A class slot ~A must have a value" (quote ,metaclass) name)) (list name `',value)) @@ -37,10 +37,10 @@ (defmacro process-slot-option (metaclass slot-name) #+lispworks `(defmethod clos:process-a-slot-option ((class ,metaclass) - (option (eql ,slot-name)) - value - already-processed-options - slot) + (option (eql ,slot-name)) + value + already-processed-options + slot) (list* option `',value already-processed-options)) #-lispworks (declare (ignore metaclass slot-name)) @@ -55,10 +55,10 @@ (ecase (slot-definition-name (first slots)) (a) (b (pushnew :mop-slot-order-reversed cl:*features*))))) - + (defun ordered-class-slots (class) - #+mop-slot-order-reversed (class-slots class) - #-mop-slot-order-reversed (reverse (class-slots class))) + #+mop-slot-order-reversed (reverse (class-slots class)) + #-mop-slot-order-reversed (class-slots class)) ;; Lispworks has symbol for slot rather than the slot instance (defun %svuc-slot-name (slot)