1.0.37.60: fix backtick problem breaking e.g. literal struct parsing.
authorcracauer <cracauer>
Fri, 23 Apr 2010 18:25:51 +0000 (18:25 +0000)
committercracauer <cracauer>
Fri, 23 Apr 2010 18:25:51 +0000 (18:25 +0000)
Fix a typo that sneaked in when committing a diff submitted by Stas
Boukarev, version 1.0.36.21, launchpad bug #309093.

This makes literal struct parsing work again.

(defstruct foo (r nil :type (or null simple-vector)))
#S(foo :r #(#x00 #x11 #x22 #x33 #x44 #x55 #x66 #x77))

==> now works again.

src/code/sharpm.lisp
version.lisp-expr

index 0e7c28e..758114f 100644 (file)
               "Comma inside backquoted structure (not a list or general vector.)"))
          (*backquote-count* 0)
          (body (if (char= (read-char stream t) #\( )
-                  (let ((*backquote-count* -1))
+                  (let ((*backquote-count* 0))
                     (read-list stream nil))
                   (simple-reader-error stream "non-list following #S"))))
     (unless (listp body)
index 9d4f74e..cdf6667 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.37.59"
+"1.0.37.60"