From b5e429e3e25a42eeccaf4f27a83895e9320800e0 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Fri, 12 Sep 2014 19:42:09 +0900 Subject: [PATCH] error_new -> make_error --- error.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/error.c b/error.c index 71d24c71..1dbff265 100644 --- a/error.c +++ b/error.c @@ -72,7 +72,7 @@ pic_pop_try(pic_state *pic) } static struct pic_error * -error_new(pic_state *pic, short type, pic_str *msg, pic_value irrs) +make_error(pic_state *pic, short type, pic_str *msg, pic_value irrs) { struct pic_error *e; pic_str *stack; @@ -109,7 +109,7 @@ pic_throw(pic_state *pic, short type, const char *msg, pic_value irrs) { struct pic_error *e; - e = error_new(pic, type, pic_str_new_cstr(pic, msg), irrs); + e = make_error(pic, type, pic_str_new_cstr(pic, msg), irrs); pic_throw_error(pic, e); }