Fix (ice-9 read) for #\"
authorAndy Wingo <wingo@pobox.com>
Sun, 14 Feb 2021 21:17:54 +0000 (22:17 +0100)
committerAndy Wingo <wingo@pobox.com>
Sun, 14 Feb 2021 21:17:54 +0000 (22:17 +0100)
* module/ice-9/read.scm (read): Fix #\ followed by a delimiter.

module/ice-9/read.scm

index 808aa93368a0c46cc8429001e69b02f84bc21095..e0aecfea997c4c88de915151dcabe7a3636517f5 100644 (file)
       (cond
        ((eof-object? ch)
         (input-error "unexpected end of input after #\\"))
+       ((delimiter? ch)
+        ch)
        (else
         (let* ((tok (read-token ch))
                (len (string-length tok)))