mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
(scm_iprin1): Print primitives generics always as "primitive-generic"
even when they have no primitive methods yet.
This commit is contained in:
parent
d900cd6dd4
commit
f76af603e1
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1995-1999,2000,2001 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995-1999,2000,2001, 2002 Free Software Foundation, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -601,7 +601,7 @@ scm_iprin1 (SCM exp, SCM port, scm_print_state *pstate)
|
|||
break;
|
||||
#endif
|
||||
case scm_tcs_subrs:
|
||||
scm_puts (SCM_SUBR_GENERIC (exp) && *SCM_SUBR_GENERIC (exp)
|
||||
scm_puts (SCM_SUBR_GENERIC (exp)
|
||||
? "#<primitive-generic "
|
||||
: "#<primitive-procedure ",
|
||||
port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue