Commit 6a74b8bf authored by cremno's avatar cremno

add missing fall through comments

parent ff49cf95
...@@ -4802,6 +4802,7 @@ parser_yylex(parser_state *p) ...@@ -4802,6 +4802,7 @@ parser_yylex(parser_state *p)
case ')': case ')':
case ']': case ']':
p->paren_nest--; p->paren_nest--;
/* fall through */
case '}': case '}':
COND_LEXPOP(); COND_LEXPOP();
CMDARG_LEXPOP(); CMDARG_LEXPOP();
...@@ -5133,6 +5134,7 @@ parser_yylex(parser_state *p) ...@@ -5133,6 +5134,7 @@ parser_yylex(parser_state *p)
pushback(p, c); pushback(p, c);
return '$'; return '$';
} }
/* fall through */
case '0': case '0':
tokadd(p, '$'); tokadd(p, '$');
} }
......
...@@ -259,6 +259,7 @@ mrb_str_aref(mrb_state *mrb, mrb_value str, mrb_value indx) ...@@ -259,6 +259,7 @@ mrb_str_aref(mrb_state *mrb, mrb_value str, mrb_value indx)
switch (mrb_type(indx)) { switch (mrb_type(indx)) {
case MRB_TT_FLOAT: case MRB_TT_FLOAT:
indx = mrb_flo_to_fixnum(mrb, indx); indx = mrb_flo_to_fixnum(mrb, indx);
/* fall through */
case MRB_TT_FIXNUM: case MRB_TT_FIXNUM:
idx = mrb_fixnum(indx); idx = mrb_fixnum(indx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment