From 3ea510e4ee22ee2b3411c40e2633a8135f84610a Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 24 Dec 2002 08:53:56 +0000 Subject: 021224 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 2036c3efd..e363b2093 100644 --- a/eval.c +++ b/eval.c @@ -4465,7 +4465,7 @@ rb_undefined(obj, id, argc, argv, call_status) POP_FRAME(); } else if (id == ID_ALLOCATOR) { - rb_fatal("allocator undefined for %s", rb_class2name(obj)); + rb_raise(rb_eNoMethodError, "allocator undefined for %s", rb_class2name(obj)); } nargv = ALLOCA_N(VALUE, argc+1); -- cgit