add "fall through" comment

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-11-26 00:55:38 +09:00
parent 0133d9ac70
commit e1a7fa925e
+1
View File
@@ -753,6 +753,7 @@ mrb_str_aref(mrb_state *mrb, mrb_value str, mrb_value indx)
switch (mrb_type(indx)) {
case MRB_TT_FLOAT:
indx = mrb_flo_to_fixnum(mrb, indx);
/* fall through */
case MRB_TT_FIXNUM:
idx = mrb_fixnum(indx);