]> git.eshelyaron.com Git - emacs.git/commit
regex-emacs: omit regstart tests and regend set
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Aug 2020 07:07:08 +0000 (00:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Aug 2020 07:20:31 +0000 (00:20 -0700)
commit82c089f532ede12c5811daacae5f824703ff8a7e
tree726f696e879ef5c3c64ffd5c799495c5fd3443d0
parent768bea30cbc0a5e7851fa60ad1ea7ec14cf2cdd8
regex-emacs: omit regstart tests and regend set

* src/regex-emacs.c (PUSH_FAILURE_REG, POP_FAILURE_REG_OR_COUNT)
(re_match_2_internal): Add some assertions that regstart
is set whenever regend is.
(re_match_2_internal): Omit two unnecessary REG_UNSET (regstart ...)s
and one unnecessary assignment to regend.
src/regex-emacs.c