diff options
author | Karl Williamson <khw@cpan.org> | 2014-06-12 12:06:02 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-06-12 13:32:54 -0600 |
commit | 86a1f7fd89679688cb5ccc6f7c88fbda2eaf7c95 (patch) | |
tree | bfecdb42a4a96c398b339a729610387a08ad174b /pp.c | |
parent | 7e9572462f6d8949ffd898bb5320541cb2f76b48 (diff) | |
download | perl-86a1f7fd89679688cb5ccc6f7c88fbda2eaf7c95.tar.gz |
pp.c: Vertically stack ternary operators
This is for comprehensibility and to make a future commit easier.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3527,8 +3527,11 @@ PP(pp_ucfirst) if (op_type == OP_LCFIRST) { /* lower case the first letter: no trickiness for any character */ - *tmpbuf = (IN_LC_RUNTIME(LC_CTYPE)) ? toLOWER_LC(*s) : - ((IN_UNI_8_BIT) ? toLOWER_LATIN1(*s) : toLOWER(*s)); + *tmpbuf = (IN_LC_RUNTIME(LC_CTYPE)) + ? toLOWER_LC(*s) + : (IN_UNI_8_BIT) + ? toLOWER_LATIN1(*s) + : toLOWER(*s); } /* is ucfirst() */ else if (IN_LC_RUNTIME(LC_CTYPE)) { |