X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/9ec578d9fe450b7e7f9030dc9d930185593aa991..fddbedf7b1b4b19add30eeb62281748cc77e6955:/src/output-proto.lisp diff --git a/src/output-proto.lisp b/src/output-proto.lisp index 3483daa..e31b201 100644 --- a/src/output-proto.lisp +++ b/src/output-proto.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 @@ -41,8 +41,7 @@ (export '(sequencer sequencer-constraints sequencer-table)) (defclass sequencer () - ((constraints :initarg :constraints :initform nil - :type list :accessor sequencer-constraints) + ((constraints :initform nil :type list :accessor sequencer-constraints) (table :initform (make-hash-table :test #'equal) :reader sequencer-table)) (:documentation @@ -112,13 +111,13 @@ a reason to its sub-objects that is different from the REASON with which it was itself invoked.") - (:method-combination progn) - (:method progn (object reason sequencer) - (declare (ignore object reason sequencer)))) + (:method (object reason sequencer) + (declare (ignore object reason sequencer)))) ;;;-------------------------------------------------------------------------- ;;; Useful syntax. +(export 'sequence-output) (defmacro sequence-output ((streamvar sequencer) &body clauses) "Register output behaviour in a convenient manner.