Trying to fix closure-common.
authorPhilipp Marek <philipp@marek.priv.at>
Sat, 26 Apr 2014 18:01:47 +0000 (20:01 +0200)
committerPhilipp Marek <philipp@marek.priv.at>
Sat, 26 Apr 2014 18:01:47 +0000 (20:01 +0200)
RUNEs and RODs are not compatible with the result
of (RUNES:RUNE), because that returns (STRING ...), and

  (TYPE-OF "Σ") has CHARACTERS, but
  (TYPE-OF "a") "only" BASE-CHARs ...

At least CLISP, ABCL, SBCL return the same value for both
TYPE-OF forms above.

src/c/read.d

index 75f22ae..b10e20e 100644 (file)
@@ -536,12 +536,8 @@ double_quote_reader(cl_object in, cl_object c)
                        c = ecl_read_char_noeof(in);
                ecl_string_push_extend(token, c);
        }
-#ifdef ECL_UNICODE
-       if (ecl_fits_in_base_string(token))
-               output = si_coerce_to_base_string(token);
-       else
-#endif
-               output = cl_copy_seq(token);
+
+       output = cl_copy_seq(token);
        si_put_buffer_string(token);
        @(return output)
 }