aboutsummaryrefslogtreecommitdiffstats
path: root/java/org
diff options
context:
space:
mode:
authorStefan Monnier2023-09-15 14:44:59 -0400
committerStefan Monnier2023-09-15 14:53:24 -0400
commite7e925f062f8d50375daa40ad7981c6d44cd7f05 (patch)
tree8be3c2e7de3a432c72dc55ab89c24b3e23f2ab4e /java/org
parent9610aaeb9e5f3d572616f0742fca2f5e5abc141d (diff)
downloademacs-e7e925f062f8d50375daa40ad7981c6d44cd7f05.tar.gz
emacs-e7e925f062f8d50375daa40ad7981c6d44cd7f05.zip
(mutually_exclusive_p): Fix the regression from commit 6fad73d7cc53
Commit 6fad73d7cc53 throws away some useful optimization because it misfired in some cases (as seen in bug#657260). Here we try to recover those useful optimizations with a slightly more careful algorithm. * src/regex-emacs.c (mutually_exclusive_aux): Rename from `mutually_exclusive_p`. Add two new args. Improve the case where we need to recurse. (mutually_exclusive_p): New function defined on top of it. * test/src/regex-emacs-tests.el (regexp-tests-backtrack-optimization): Re-enable the test.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions