diff options
author | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 1998-10-18 12:46:27 +0000 |
---|---|---|
committer | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 1998-10-18 12:46:27 +0000 |
commit | 05c33d09c658469990fa940d91f48a39f1181bf6 (patch) | |
tree | 8e13173915605cc6493a15daf73488773c889c99 /libguile/unif.c | |
parent | c8f11b97567020c5cee0c0112dea447d7774da6f (diff) | |
download | guile-05c33d09c658469990fa940d91f48a39f1181bf6.tar.gz |
* unif.c (scm_raprin1): Changed print syntax for byte vectors from
#bytes(...) to #y(...), and syntax for short vectors from
#short(...) to #h(...). This may seem nutty, but, like the other
uniform vectors, byte vectors and short vectors want to have the
same print and read syntax (and, more basic, want to have read
syntax!). Changing the read syntax to use multiple characters
after the hash sign breaks with the conventions used in R5RS and
the conventions used for the other uniform vectors. It also
introduces complexity in the current reader, both on the C and
Scheme levels. (The Right solution is probably to change the
syntax and prototypes for uniform vectors entirely.)
Diffstat (limited to 'libguile/unif.c')
-rw-r--r-- | libguile/unif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/unif.c b/libguile/unif.c index 12e545210..2a8a73e76 100644 --- a/libguile/unif.c +++ b/libguile/unif.c @@ -2435,7 +2435,7 @@ tail: scm_putc ('a', port); break; case scm_tc7_byvect: - scm_puts ("bytes", port); + scm_putc ('y', port); break; case scm_tc7_uvect: scm_putc ('u', port); @@ -2444,7 +2444,7 @@ tail: scm_putc ('e', port); break; case scm_tc7_svect: - scm_puts ("short", port); + scm_putc ('h', port); break; #ifdef LONGLONGS case scm_tc7_llvect: |