From e429905597bff1e0fefb426ef22d5b3ea80e76f5 Mon Sep 17 00:00:00 2001 From: Yukihiro Matz Matsumoto Date: Sun, 4 Nov 2012 05:11:39 +0900 Subject: replace SYM2ID() by mrb_symbol() --- src/variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/variable.c') diff --git a/src/variable.c b/src/variable.c index eebe81575..2978637b4 100644 --- a/src/variable.c +++ b/src/variable.c @@ -927,5 +927,5 @@ mrb_class_sym(mrb_state *mrb, struct RClass *c, struct RClass *outer) return arg.sym; } } - return SYM2ID(name); + return mrb_symbol(name); } -- cgit v1.2.3