1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-17 01:00:20 +02:00

Fix compilation of literal bitvectors.

* libguile/arrays.c (scm_from_contiguous_typed_array): Fix BYTE_LEN
  sanity check for bitvectors.

* test-suite/tests/unif.test ("syntax")["bitvector is self-evaluating"]:
  New test.

* module/ice-9/deprecated.scm (#\y): Fix deprecation comment: `#*' is
  not a read syntax.
This commit is contained in:
Ludovic Courtès 2009-10-15 23:29:50 +02:00
parent 29553c54b5
commit cd48c32cf4
3 changed files with 8 additions and 4 deletions

View file

@ -190,7 +190,7 @@
#\y
(lambda (c port)
(issue-deprecation-warning
"The `#y' bitvector syntax is deprecated. Use `#*' instead.")
"The `#y' bitvector syntax is deprecated. Use `bitvector' instead.")
(let ((x (read port)))
(cond
((list? x)