src/method-aggregate.lisp: Allow useful behaviour if no primary methods.
[sod] / src / parser / floc-proto.lisp
index ca5aaee..484fce0 100644 (file)
@@ -7,7 +7,7 @@
 
 ;;;----- Licensing notice ---------------------------------------------------
 ;;;
-;;; This file is part of the Sensble Object Design, an object system for C.
+;;; This file is part of the Sensible Object Design, an object system for C.
 ;;;
 ;;; SOD is free software; you can redistribute it and/or modify
 ;;; it under the terms of the GNU General Public License as published by
@@ -58,8 +58,8 @@
 
 (export '(enclosing-condition enclosed-condition))
 (define-condition enclosing-condition (condition)
-  ((enclosed-condition :initarg :condition :type condition
-                      :reader enclosed-condition))
+  ((%enclosed-condition :initarg :condition :type condition
+                       :reader enclosed-condition))
   (:documentation
    "A condition which encloses another condition
 
     (etypecase datum
       (condition-with-location datum)
       (condition (wrap datum))
-      (symbol (apply #'make arguments))
+      (symbol (apply #'make datum arguments))
       ((or string function) (make default-type
                                  :format-control datum
                                  :format-arguments arguments)))))