diff options
author | Alan Mackenzie <acm@muc.de> | 2019-10-20 16:55:26 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2019-10-20 16:55:26 +0000 |
commit | 5ddbd8d191e7e38167a63728c6ead5a6401c63f6 (patch) | |
tree | 4d117995d63b4912d9aa3d150cce4ff196a864d1 /lisp/emacs-lisp | |
parent | dff8978f5004561e2625b4199cefd8c262bb42cb (diff) | |
download | emacs-5ddbd8d191e7e38167a63728c6ead5a6401c63f6.tar.gz emacs-5ddbd8d191e7e38167a63728c6ead5a6401c63f6.tar.bz2 emacs-5ddbd8d191e7e38167a63728c6ead5a6401c63f6.zip |
Optimize c-crosses-statement-barrier-p for large blocks of comment.
This fixes bug #18134.
* lisp/progmodes/cc-engine.el (c-crosses-statement-barrier-p): Give a limit
to the c-backward-syntactic-ws which is searching for a virtual semicolon. In
the main loop, Use c-forward-syntactic-ws to skip blocks of comments.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions