mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
(scm_wrong_type_arg): Do not talk about "argument" for
pos == 0.
This commit is contained in:
parent
aef0bdb420
commit
83e1ab6ddf
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ scm_wrong_type_arg (const char *subr, int pos, SCM bad_value)
|
||||||
{
|
{
|
||||||
scm_error (scm_arg_type_key,
|
scm_error (scm_arg_type_key,
|
||||||
subr,
|
subr,
|
||||||
(pos == 0) ? "Wrong type argument: ~S"
|
(pos == 0) ? "Wrong type: ~S"
|
||||||
: "Wrong type argument in position ~A: ~S",
|
: "Wrong type argument in position ~A: ~S",
|
||||||
(pos == 0) ? scm_list_1 (bad_value)
|
(pos == 0) ? scm_list_1 (bad_value)
|
||||||
: scm_list_2 (scm_from_int (pos), bad_value),
|
: scm_list_2 (scm_from_int (pos), bad_value),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue