summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-05-29 20:41:22 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-05-29 20:43:37 -0400
commit924ba0765e4151c6d9a29ad6b3c3f97c24673477 (patch)
treef2eee0262fd1483fd9903917b85f8dbf532e3c5e /pp_hot.c
parent81f54ac7f5f6cf7337babd8633132716c21d851a (diff)
downloadperl-924ba0765e4151c6d9a29ad6b3c3f97c24673477.tar.gz
Unify the "fall-through" lint annotation.
Used by linters (static checkers), and also good for human readers. Even though "FALL THROUGH" seems to be the most common, e.g BSD lint manual only knows "FALLTHROUGH" (or "FALLTHRU").
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 9c9d1e9fcc..e705230988 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2555,7 +2555,7 @@ PP(pp_entersub)
break;
case SVt_PVLV:
if(isGV_with_GP(sv)) goto we_have_a_glob;
- /*FALLTHROUGH*/
+ /* FALLTHROUGH */
default:
if (sv == &PL_sv_yes) { /* unfound import, ignore */
if (hasargs)
@@ -2585,7 +2585,7 @@ PP(pp_entersub)
cv = MUTABLE_CV(SvRV(sv));
if (SvTYPE(cv) == SVt_PVCV)
break;
- /* FALL THROUGH */
+ /* FALLTHROUGH */
case SVt_PVHV:
case SVt_PVAV:
DIE(aTHX_ "Not a CODE reference");