change error message according to discussion
This commit is contained in:
parent
794ab892c5
commit
6ee0fd2852
|
@ -562,7 +562,7 @@ analyze_quote(analyze_state *state, pic_value obj)
|
||||||
#define ARGC_ASSERT_GE(n, name) do { \
|
#define ARGC_ASSERT_GE(n, name) do { \
|
||||||
if (pic_length(pic, obj) < (n) + 1) { \
|
if (pic_length(pic, obj) < (n) + 1) { \
|
||||||
pic_errorf(pic, \
|
pic_errorf(pic, \
|
||||||
#name ": wrong number of arguments (%d for equal to or more than %d)", \
|
#name ": wrong number of arguments (%d for at least %d)", \
|
||||||
pic_length(pic, obj) - 1, \
|
pic_length(pic, obj) - 1, \
|
||||||
n); \
|
n); \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue