diff options
| author | Stefan Monnier | 2023-10-03 10:10:57 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2023-10-03 10:10:57 -0400 |
| commit | 37130fd500fbf78ff0d0037aa6275f0f70a415dd (patch) | |
| tree | b17e7bc371bfff085b5edc2db2344f83d943d577 /java | |
| parent | 849de5aa1a42cae6ae1504804acf0c7fb8b13860 (diff) | |
| download | emacs-37130fd500fbf78ff0d0037aa6275f0f70a415dd.tar.gz emacs-37130fd500fbf78ff0d0037aa6275f0f70a415dd.zip | |
regex.c: Fix recent regression with mutually_exclusive_p
The new analysis code ended up increasing the scope of an optimization
a bit too far. Reign it in.
* src/regex-emacs.c (struct mutexcl_data): Add `unconstrained` field.
(mutually_exclusive_one): Use and set it.
(mutually_exclusive_p): Initialize it.
* test/src/regex-emacs-tests.el (regexp-tests-backtrack-optimization):
Add test.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions