Pārlūkot izejas kodu

Fix the recently added ABCL code to avoid a reader error in SBCL

dlichteblau 15 gadi atpakaļ
vecāks
revīzija
6cff2b9fb3
1 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 5 2
      mixin.lisp

+ 5 - 2
mixin.lisp

@@ -42,8 +42,11 @@
   (defmethod gray-streams:stream-write-string 
       ((stream xp::xp-structure) string &optional (start 0) (end (length string)))
     (xp::write-string+ string stream start end))
-  
-  #+#.(cl:if (cl:find-symbol "STREAM-FILE-POSITION" :gray-streams) '(cl:and) '(cl:or))
+
+  #+#.(cl:if (cl:and (cl:find-package :gray-streams)
+		     (cl:find-symbol "STREAM-FILE-POSITION" :gray-streams))
+	     '(:and)
+	     '(:or))
   (defmethod gray-streams:stream-file-position
       ((s trivial-gray-stream-mixin) &optional position)
     (if position