summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-01-21 12:16:21 +0000
committerDavid Mitchell <davem@iabyn.com>2015-01-21 12:42:34 +0000
commit7b52d6569c115e4522e1cbe14cfd730e60c84bf1 (patch)
treeadf749373ce41b8f5e7d28ffd31e161842f052a6 /pp.c
parentfa14274eb6699a6eabc280d644e7bdeaee02e336 (diff)
downloadperl-7b52d6569c115e4522e1cbe14cfd730e60c84bf1.tar.gz
avoid C labels in column 0
Generally the guideline is to outdent C labels (e.g. 'foo:') 2 columns from the surrounding code. If the label starts at column zero, then it means that diffs, such as those generated by git, display the label rather than the function name at the head of a diff block: which makes diffs harder to peruse.
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index c4c4819d34..a1a161d45e 100644
--- a/pp.c
+++ b/pp.c
@@ -3211,7 +3211,7 @@ PP(pp_substr)
}
RETURN;
-bound_fail:
+ bound_fail:
if (repl)
Perl_croak(aTHX_ "substr outside of string");
Perl_ck_warner(aTHX_ packWARN(WARN_SUBSTR), "substr outside of string");