mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix display of symbols containing backslashes.
Fixes <http://bugs.gnu.org/15033>. * libguile/print.c (print_extended_symbol): Double print backslashes. Signed-off-by: Mark H Weaver <mhw@netris.org>
This commit is contained in:
parent
524140436f
commit
b4a099883d
1 changed files with 2 additions and 1 deletions
|
@ -410,7 +410,8 @@ print_extended_symbol (SCM sym, SCM port)
|
|||
SUBSEQUENT_IDENTIFIER_MASK
|
||||
| UC_CATEGORY_MASK_Zs))
|
||||
{
|
||||
if (!display_character (c, port, strategy))
|
||||
if (!display_character (c, port, strategy)
|
||||
|| (c == '\\' && !display_character (c, port, strategy)))
|
||||
scm_encoding_error ("print_extended_symbol", errno,
|
||||
"cannot convert to output locale",
|
||||
port, SCM_MAKE_CHAR (c));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue