summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-19 06:43:08 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-19 10:26:25 -0400
commit148f39b7de6eae9ddd59e0b0aff691d6abea7aca (patch)
tree4234b72396b4e97e8fa5001078366a908af83e6a /utf8.c
parent8ce6f80a4321cf8eaae14a6a8401f8e597c25f25 (diff)
downloadperl-148f39b7de6eae9ddd59e0b0aff691d6abea7aca.tar.gz
/* NOTREACHED */ belongs *before* the unreachable.
Definitely not *after* it. It marks the start of the unreachable, not the first unrechable line. And if they are in that order, it looks better to linebreak after the lint hint.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 060aadab53..264ddb7029 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1423,7 +1423,8 @@ Perl__to_upper_title_latin1(pTHX_ const U8 c, U8* p, STRLEN *lenp, const char S_
return 'S';
default:
Perl_croak(aTHX_ "panic: to_upper_title_latin1 did not expect '%c' to map to '%c'", c, LATIN_SMALL_LETTER_Y_WITH_DIAERESIS);
- assert(0); /* NOTREACHED */
+ /* NOTREACHED */
+ assert(0);
}
}
@@ -2453,7 +2454,8 @@ Perl__core_swash_init(pTHX_ const char* pkg, const char* name, SV *listsv, I32 m
Perl_croak(aTHX_
"Can't find Unicode property definition \"%"SVf"\"",
SVfARG(retval));
- NOT_REACHED; /* NOTREACHED */
+ /* NOTREACHED */
+ NOT_REACHED;
}
} /* End of calling the module to find the swash */