Branch: refs/heads/master Author: Matthew Brush matt@geany.org Committer: Matthew Brush matt@geany.org Date: Thu, 21 Dec 2017 01:22:51 UTC Commit: 43122ea7d95808b04e44d03a4650de0d28d04d97 https://github.com/geany/geany/commit/43122ea7d95808b04e44d03a4650de0d28d04d...
Log Message: ----------- Add more 'fall through' comments for switch cases
TODO: make sure these are actually meant to fall-through.
Modified Paths: -------------- ctags/parsers/perl.c ctags/parsers/r.c
Modified: ctags/parsers/perl.c 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -138,9 +138,11 @@ static bool isSubroutineDeclaration (const unsigned char *cp) case ';': if (!nparens) return true; + /* fall through */ case '{': if (!nparens) return false; + /* fall through */ default: if (attr) { if (isIdentifier1(*cp)) {
Modified: ctags/parsers/r.c 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -142,6 +142,7 @@ static void createRTags (void) break; } } + /* fall through */ case ' ': case '\x009': /* skip whitespace */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).