R6RS string escapes broken on string output
authorMichael Gran <spk121@yahoo.com>
Sat, 23 Jan 2010 17:15:10 +0000 (09:15 -0800)
committerMichael Gran <spk121@yahoo.com>
Sat, 23 Jan 2010 17:21:46 +0000 (09:21 -0800)
commitd31b95195168ded0d3300159403adb2c4917e291
treed0c5b4f1061a4414269a159ba8c1c0f20e445384
parent2ff9bf8522c5f8981af5fd524769733ac1e3e8de
R6RS string escapes broken on string output

scm_to_stringn failed to do the necessary escape conversion for
R6RS hex escapes

* libguile/strings.c (unistring_escapes_to_r6rs_escapes): new function
  (scm_to_stringn): use new function when r6rs hex escapes are enabled

* test-suite/tests/reader.test: new test for string display
libguile/strings.c
test-suite/tests/reader.test