mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
(keyword_print): Use scm_print_symbol_name so that
weird names are printed correctly.
This commit is contained in:
parent
6662998f74
commit
ca3140213b
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@ static int
|
|||
keyword_print (SCM exp, SCM port, scm_print_state *pstate)
|
||||
{
|
||||
scm_puts ("#:", port);
|
||||
scm_puts(1 + SCM_SYMBOL_CHARS (SCM_CDR (exp)), port);
|
||||
scm_print_symbol_name (1 + SCM_SYMBOL_CHARS (SCM_CDR (exp)),
|
||||
SCM_SYMBOL_LENGTH (SCM_CDR (exp)),
|
||||
port);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue