This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Fix precedence
authorKarl Williamson <public@khwilliamson.com>
Thu, 10 Mar 2011 15:17:05 +0000 (08:17 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 10 Mar 2011 16:37:58 +0000 (09:37 -0700)
commit6f8d7d0df3e3141d61246e6b0a3db12ab1fd7f92
treee6b68e7132b9b4f0e975a7ed210017a3daef0c2a
parent1aa9930eb1f2ea53c64cbde87e9406c6b4e08d52
regexec.c: Fix precedence

Commit ac51e94be5daabecdeb0ed734f3ccc059b7b77e3 didn't
do what it purported, because it omitted parentheses that
were necessary to change the natural precedence.  It's strange that
it passed all tests on my machine, and failed so miserably elsewhere
that it was quickly reverted by commit
63c0bfd59562325fed2ac5a90088ed40960ac2ad.

This reinstates it with the correct precedence.  The next commit
will add an assert() so that the underlying issue will be detected
on all platforms
regexec.c