core: reader: Support binary #b101.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 16 May 2018 20:32:59 +0000 (22:32 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 16 May 2018 20:32:59 +0000 (22:32 +0200)
commit04860cca6b0ba7200f8d53c0d46c089ea1dd889a
tree549670818fb8992661bdcdf496c73bf48ee1f2a5
parent10bd43d222436a04e7d118f3837e8a8b11ea1d6b
core: reader: Support binary #b101.

* src/reader.c (reader_read_binary): New function.
  (reader_read_hash): Use it.
* tests/scm.test ("binary"): Test it.
src/reader.c
tests/scm.test