HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6662998
)
(keyword_print): Use scm_print_symbol_name so that
author
Marius Vollmer
<mvo@zagadka.de>
Wed, 30 May 2001 23:48:13 +0000
(23:48 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Wed, 30 May 2001 23:48:13 +0000
(23:48 +0000)
weird names are printed correctly.
libguile/keywords.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/keywords.c
b/libguile/keywords.c
index
f17eeda
..
a3819c6
100644
(file)
--- a/
libguile/keywords.c
+++ b/
libguile/keywords.c
@@
-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;
}