core: Support \xNN in reader. Fixes tcc-boot running on Mes. fix
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 13 Dec 2018 17:19:19 +0000 (18:19 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 13 Dec 2018 17:19:43 +0000 (18:19 +0100)
commita155a0a9a2d941b15c1b98e5cce787de40a8dacd
treeb42bbac629cd7e8f8e869a4ef818ca4e81a2ac63
parent3c9274ce2d40d9935a6ad5d9b6e2941e68674a75
core: Support \xNN in reader.  Fixes tcc-boot running on Mes.

* src/reader.c (reader_read_string): Support \xNN.  Fixes Guix
bootstrap chain; i.e., compilation of gcc-2.95.3 using tcc-boot.
* tests/base.test ("reader: \\x08"): Test it.
* scaffold/tests/17-compare-char.c: Likewise, for mescc.
* build-aux/check-mescc.sh (tests): Run it.
build-aux/check-mescc.sh
scaffold/tests/17-compare-char.c [new file with mode: 0644]
src/reader.c
tests/base.test