summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-05-30 11:47:59 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-05-30 11:47:59 +0900
commit27a5e1045441838e9bd820faea20489370737bc0 (patch)
treed2ca05637e1c2e2e62494351547058e0fe5d54c9 /src/class.c
parent4b15d5d1e373542dcf6fdac89aa5e5e2cfd61c4c (diff)
downloadmruby-27a5e1045441838e9bd820faea20489370737bc0.tar.gz
mruby-27a5e1045441838e9bd820faea20489370737bc0.zip
Avoid using C++ style comments (//).
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c4
1 files changed, 2 insertions, 2 deletions
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);