Skip to content

Commit

Permalink
Adjust 'fall through' comments to be recognized by GCC
Browse files Browse the repository at this point in the history
As per the documentation[0], GCC will silence these warnings when
the comments are formatted correctly.

[0]: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
  • Loading branch information
codebrainz committed Dec 21, 2017
1 parent 243d55f commit bf28794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctags/parsers/fortran.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ static int getFixedFormChar (void)
Column = 6;
break;
}
/* fall through to next case */
/* fall through */
case LTYPE_CONTINUATION:
Column = 5;
do
Expand Down Expand Up @@ -1001,7 +1001,7 @@ static void readToken (tokenInfo *const token)
skipLine ();
Column = 0;
}
/* fall through to newline case */
/* fall through */
case '\n':
token->type = TOKEN_STATEMENT_END;
if (FreeSourceForm)
Expand Down

0 comments on commit bf28794

Please sign in to comment.