diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | arith.c | 2 | ||||
-rw-r--r-- | lib.c | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2012-03-26 Kaz Kylheku <kaz@kylheku.com> + + * arith.c (to_float): Fix unterminated argument list in throwf. + + * lib.c (funcall): Likewise. + 2012-03-24 Kaz Kylheku <kaz@kylheku.com> * lib.c (rebind_s): New symbol variable. @@ -890,7 +890,7 @@ static val to_float(val func, val num) case FLNUM: return num; default: - uw_throwf(error_s, lit("~s: invalid operand ~s"), func, num); + uw_throwf(error_s, lit("~s: invalid operand ~s"), func, num, nao); } } @@ -2616,7 +2616,7 @@ val funcall(val fun) break; } } - uw_throwf(error_s, lit("funcall: wrong number of arguments")); + uw_throw(error_s, lit("funcall: wrong number of arguments")); } val funcall1(val fun, val arg) |