diff options
author | Andy Wingo <wingo@pobox.com> | 2011-04-11 12:48:06 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-04-11 12:48:06 +0200 |
commit | d9527cfafdad1046770437a7a59d3745e7243c67 (patch) | |
tree | e36c0591b263fdefde42e0811f2f29a88d02f7eb /libguile/print.c | |
parent | 15671c6e7fd86160b415b5373b2c1539e23556f3 (diff) | |
download | guile-d9527cfafdad1046770437a7a59d3745e7243c67.tar.gz |
read-extended-symbol handles backslash better, including r6rs hex escapes
* libguile/read.c (scm_read_extended_symbol): Interpret '\' as an escape
character. Due to some historical oddities we have to support '\'
before any character, but since we never emitted '\' in front of
"normal" characters like 'x' we can interpret "\x..;" to be an R6RS
hex escape.
* test-suite/tests/reader.test ("#{}#"): Add tests.
Diffstat (limited to 'libguile/print.c')
0 files changed, 0 insertions, 0 deletions