summaryrefslogtreecommitdiff
path: root/module/rnrs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-02-02 17:38:03 +0100
committerLudovic Courtès <ludo@gnu.org>2011-02-02 18:06:29 +0100
commit6851d3be80bef46993e192b0f4ea708248f97921 (patch)
treed941bdb5be27848c5b1366e66ad688d1eedb6833 /module/rnrs
parent7174bc08ddd6cc64f2ea321910042cf2233d586a (diff)
downloadguile-6851d3be80bef46993e192b0f4ea708248f97921.tar.gz
Change `scm_encoding_error' to pass the port and faulty character.
* libguile/strings.c (scm_encoding_error): Remove the `from', `to', and `string_or_bv' parameters; add `port' and `chr'. (scm_to_stringn): Update accordingly. * libguile/strings.h (scm_encoding_error): Update accordingly. * libguile/ports.c (scm_ungetc): Update accordingly. * libguile/print.c (iprin1, scm_write_char): Update accordingly. * test-suite/tests/encoding-escapes.test ("display output errors")["ultima", "Rashomon"]: Check the arguments of `encoding-error'. ["tekniko"]: New test. * test-suite/tests/ports.test ("string ports")["wrong encoding"]: Adjust to new `encoding-error' arguments.
Diffstat (limited to 'module/rnrs')
0 files changed, 0 insertions, 0 deletions