summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-08-01 09:58:02 -0600
committerKarl Williamson <khw@cpan.org>2014-08-21 14:49:46 -0600
commit91a527c4392ee3a58532b360fdf798f7ffc6ba19 (patch)
treef507b38f935609226cde1a01026cbf2fc2f64563
parent19c737e5af66f24d1299ec9cc96c7a895a07a4e6 (diff)
downloadperl-91a527c4392ee3a58532b360fdf798f7ffc6ba19.tar.gz
regcomp.c: Reorder cases: in switch
This makes it slightly more reader-friendly
-rw-r--r--regcomp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regcomp.c b/regcomp.c
index cff72070f9..d5bb3a277e 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -16666,11 +16666,11 @@ S_put_byte(pTHX_ SV *sv, int c)
if (!isPRINT(c)) {
switch (c) {
- case '\r': Perl_sv_catpvf(aTHX_ sv, "\\r"); break;
+ case '\a': Perl_sv_catpvf(aTHX_ sv, "\\a"); break;
+ case '\f': Perl_sv_catpvf(aTHX_ sv, "\\f"); break;
case '\n': Perl_sv_catpvf(aTHX_ sv, "\\n"); break;
+ case '\r': Perl_sv_catpvf(aTHX_ sv, "\\r"); break;
case '\t': Perl_sv_catpvf(aTHX_ sv, "\\t"); break;
- case '\f': Perl_sv_catpvf(aTHX_ sv, "\\f"); break;
- case '\a': Perl_sv_catpvf(aTHX_ sv, "\\a"); break;
default:
Perl_sv_catpvf(aTHX_ sv, "\\x{%x}", c);