use C style comments instead of C++ style comments

This commit is contained in:
Tatsuhiko Kubo
2014-07-13 00:24:45 +09:00
parent ee9d409eed
commit 5b5313ec97
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -608,7 +608,7 @@ mrb_str_split_m(mrb_state *mrb, mrb_value str)
while (ptr < eptr &&
(end = mrb_memsearch(sptr, slen, ptr, eptr - ptr)) >= 0) {
// mrb_ary_push(mrb, result, str_subseq(mrb, str, ptr - temp, end));
/* mrb_ary_push(mrb, result, str_subseq(mrb, str, ptr - temp, end)); */
mrb_ary_push(mrb, result, mrb_str_new(mrb, ptr, end));
mrb_gc_arena_restore(mrb, ai);
ptr += end + slen;