Kaydet (Commit) 43122ea7 authored tarafından Matthew Brush's avatar Matthew Brush

Add more 'fall through' comments for switch cases

TODO: make sure these are actually meant to fall-through.
üst bf287946
...@@ -138,9 +138,11 @@ SUB_DECL_SWITCH: ...@@ -138,9 +138,11 @@ SUB_DECL_SWITCH:
case ';': case ';':
if (!nparens) if (!nparens)
return true; return true;
/* fall through */
case '{': case '{':
if (!nparens) if (!nparens)
return false; return false;
/* fall through */
default: default:
if (attr) { if (attr) {
if (isIdentifier1(*cp)) { if (isIdentifier1(*cp)) {
......
...@@ -142,6 +142,7 @@ static void createRTags (void) ...@@ -142,6 +142,7 @@ static void createRTags (void)
break; break;
} }
} }
/* fall through */
case ' ': case ' ':
case '\x009': case '\x009':
/* skip whitespace */ /* skip whitespace */
......
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