summaryrefslogtreecommitdiff
path: root/libguile/print.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-04-11 12:48:06 +0200
committerAndy Wingo <wingo@pobox.com>2011-04-11 12:48:06 +0200
commitd9527cfafdad1046770437a7a59d3745e7243c67 (patch)
treee36c0591b263fdefde42e0811f2f29a88d02f7eb /libguile/print.c
parent15671c6e7fd86160b415b5373b2c1539e23556f3 (diff)
downloadguile-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