re_intuit_start(): format a ?: expression better
authorDavid Mitchell <davem@iabyn.com>
Wed, 5 Feb 2014 16:48:21 +0000 (16:48 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 8 Feb 2014 13:50:23 +0000 (13:50 +0000)
I kept reading it as assigning other_ix to rx_origin.

Whitespace-only change

regexec.c

index ce625c0..b04c299 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -1041,9 +1041,10 @@ Perl_re_intuit_start(pTHX_
                     (long)(HOP3c(check_at, 1, strend) - i_strpos)));
 
                 other_last = HOP3c(last, 1, strend) /* highest failure */;
-                rx_origin = other_ix
-                    ? HOP3c(rx_origin, 1, strend)
-                    : HOP4c(last, 1 - other->min_offset, strbeg, strend);
+                rx_origin =
+                    other_ix
+                        ? HOP3c(rx_origin, 1, strend)
+                        : HOP4c(last, 1 - other->min_offset, strbeg, strend);
                 goto restart;
             }
             else {