diff options
author | Karl Williamson <khw@cpan.org> | 2014-08-01 09:58:02 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-08-21 14:49:46 -0600 |
commit | 91a527c4392ee3a58532b360fdf798f7ffc6ba19 (patch) | |
tree | f507b38f935609226cde1a01026cbf2fc2f64563 | |
parent | 19c737e5af66f24d1299ec9cc96c7a895a07a4e6 (diff) | |
download | perl-91a527c4392ee3a58532b360fdf798f7ffc6ba19.tar.gz |
regcomp.c: Reorder cases: in switch
This makes it slightly more reader-friendly
-rw-r--r-- | regcomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |