From 27a5e1045441838e9bd820faea20489370737bc0 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 30 May 2017 11:47:59 +0900 Subject: Avoid using C++ style comments (//). --- src/class.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/class.c b/src/class.c index 77b670496..0eea9b4dc 100644 --- a/src/class.c +++ b/src/class.c @@ -993,7 +993,7 @@ include_module_at(mrb_state *mrb, struct RClass *c, struct RClass *ins_pos, stru if (p->tt == MRB_TT_ICLASS) { if (p->mt == m->mt) { if (!superclass_seen) { - ins_pos = p; // move insert point + ins_pos = p; /* move insert point */ } goto skip; } @@ -1160,7 +1160,7 @@ mrb_mod_initialize(mrb_state *mrb, mrb_value mod) { mrb_value b; struct RClass *m = mrb_class_ptr(mod); - boot_initmod(mrb, m); // bootstrap a newly initialized module + boot_initmod(mrb, m); /* bootstrap a newly initialized module */ mrb_get_args(mrb, "|&", &b); if (!mrb_nil_p(b)) { mrb_yield_with_class(mrb, b, 1, &mod, mod, m); -- cgit v1.2.3