X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/8ce92a8fe2d825830035b39a3dfd60969445e7ea..c32aa709ec47cee02e46fc9e74e58eb6a9b430a6:/src/module-impl.lisp?ds=inline diff --git a/src/module-impl.lisp b/src/module-impl.lisp index 0bf9ff2..ba04397 100644 --- a/src/module-impl.lisp +++ b/src/module-impl.lisp @@ -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 @@ -199,7 +199,8 @@ (defmethod make-load-form ((fragment c-fragment) &optional environment) (export '(code-fragment-item code-fragment code-fragment-reason code-fragment-name code-fragment-constraints)) (defclass code-fragment-item () - ((fragment :initarg :fragment :type c-fragment :reader code-fragment) + ((fragment :initarg :fragment :type (or string c-fragment) + :reader code-fragment) (reason :initarg :reason :type keyword :reader code-fragment-reason) (name :initarg :name :type t :reader code-fragment-name) (constraints :initarg :constraints :type list