X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/ea578bb4b9eb4a03b2eb4ed151e058d699c216ea..1d8cc67a3f4ded443f5efc673a616883cbae9c50:/src/parser/streams-impl.lisp?ds=sidebyside diff --git a/src/parser/streams-impl.lisp b/src/parser/streams-impl.lisp index d62429a..d84bee4 100644 --- a/src/parser/streams-impl.lisp +++ b/src/parser/streams-impl.lisp @@ -120,7 +120,8 @@ (clear-input ustream))) (defmethod stream-read-sequence - ((stream proxy-input-stream) seq &optional (start 0) end) + ((stream proxy-input-stream) seq + #+clisp &key #-clisp &optional (start 0) end) (with-slots (ustream) stream (read-sequence seq ustream :start start :end end))) @@ -144,7 +145,8 @@ (force-output ustream))) (defmethod stream-write-sequence - ((stream proxy-output-stream) seq &optional (start 0) end) + ((stream proxy-output-stream) seq + #+clisp &key #-clisp &optional (start 0) end) (with-slots (ustream) stream (write-sequence seq ustream :start start :end end))) @@ -306,7 +308,8 @@ (call-next-method)) (defmethod stream-read-sequence - ((stream position-aware-input-stream) seq &optional (start 0) end) + ((stream position-aware-input-stream) seq + #+clisp &key #-clisp &optional (start 0) end) (declare (ignore end)) (let ((pos (call-next-method))) (with-position (stream) @@ -345,7 +348,8 @@ insertion of some user code.")) (defmethod stream-write-sequence - ((stream position-aware-output-stream) seq &optional (start 0) end) + ((stream position-aware-output-stream) seq + #+clisp &key #-clisp &optional (start 0) end) (with-position (stream) (dosequence (ch seq :start start :end end) (update ch))