regcomp.c: Omit warning if error about to be raised
authorKarl Williamson <khw@cpan.org>
Sun, 14 Oct 2018 18:52:07 +0000 (12:52 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 20 Oct 2018 06:09:55 +0000 (00:09 -0600)
commit0a0ee7b8b14e71974adcfd6457c0d0a5486c28aa
tree4acc572af0835b5d29c58ae26842fa4b6dc535e3
parentd62e749e81cccfc8041202ebef35e45449134bf8
regcomp.c: Omit warning if error about to be raised

This commit changes the code to skip a warning when it knows an error is
about to happen.  Currently this doesn't matter, as the warning would be
emitted only in a later pass, and the error would actually happen first,
so the warning doesn't get output at all.  But future commits will
change that, so this commit is in preparation for that.
regcomp.c