diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-30 11:47:59 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-30 11:47:59 +0900 |
| commit | 27a5e1045441838e9bd820faea20489370737bc0 (patch) | |
| tree | d2ca05637e1c2e2e62494351547058e0fe5d54c9 /src/class.c | |
| parent | 4b15d5d1e373542dcf6fdac89aa5e5e2cfd61c4c (diff) | |
| download | mruby-27a5e1045441838e9bd820faea20489370737bc0.tar.gz mruby-27a5e1045441838e9bd820faea20489370737bc0.zip | |
Avoid using C++ style comments (//).
Diffstat (limited to 'src/class.c')
| -rw-r--r-- | src/class.c | 4 |
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); |
