re_intuit_start(): swap another if/else block
authorDavid Mitchell <davem@iabyn.com>
Mon, 17 Feb 2014 20:20:40 +0000 (20:20 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 16 Mar 2014 18:03:49 +0000 (18:03 +0000)
commit9fed8d02fb387e26fe15437b6fa29f16095fba55
treefd1e81b4e269b00850ee79e3219d4094a69cbc51
parent838b29afa5fb090e885342b04b29a9bd24b07981
re_intuit_start(): swap another if/else block

Change

    {
        ...
        if (has_anchored) {
            A;
            goto restart;
        }
        B;
        goto hop_and_restart;
    }

to

    {
        ...
        if (!has_anchored) {
            B;
            goto hop_and_restart;
        }
        A;
        goto restart;
    }

Functionally the same, but will allow simpler code shortly
regexec.c