summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-01-27 17:21:28 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2023-01-27 17:27:15 +0100
commit4287d56bad5201cf0946526bb0e27c17426bd969 (patch)
tree81c57c54a51a43f7d6eccf8a83b05175e0656551 /lisp/emacs-lisp
parent627ac228b2ecdf179f36ea41fd0254c091744e4b (diff)
downloademacs-4287d56bad5201cf0946526bb0e27c17426bd969.tar.gz
emacs-4287d56bad5201cf0946526bb0e27c17426bd969.tar.bz2
emacs-4287d56bad5201cf0946526bb0e27c17426bd969.zip
Repair hideif regexp problems
* lisp/progmodes/hideif.el (hif-white-regexp, hif-tokenize): Avoid superlinear backtracking behaviour by rewriting regexps to avoid nested repetitions and make positive progress each time. Use lazy matching of the innards of /*...*/ comments to avoid matching too much.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions