diff options
author | Alan Mackenzie <acm@muc.de> | 2019-06-13 14:07:06 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2019-06-13 14:10:02 +0000 |
commit | 6b5388794b4d1118cb4443cfccc1bdebb4fb1af4 (patch) | |
tree | d1a275e19205e99c2fac595baa9fd67d9840ec09 /lisp/emacs-lisp | |
parent | 38d8db1bf27a3e49a2181f57d7d3d92a06b69282 (diff) | |
download | emacs-6b5388794b4d1118cb4443cfccc1bdebb4fb1af4.tar.gz emacs-6b5388794b4d1118cb4443cfccc1bdebb4fb1af4.tar.bz2 emacs-6b5388794b4d1118cb4443cfccc1bdebb4fb1af4.zip |
Depessimize bits of CC Mode for long C macros.
* lisp/progmodes/cc-engine.el (c-end-of-macro): Check for being in a
degenerate zero length "macro", when setting the macro cache.
(c-determine-+ve-limit): Add in a missing goto-char form for when start-pos is
non-nil.
(c-back-over-member-initializers): Add a search limit parameter.
* lisp/progmodes/cc-fonts.el (c-get-fontification-context): Add a search limit
to c-go-up-list-backward.
(c-font-lock-cut-off-declarators): Add a search limit to
c-back-over-member-initializers.
* lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): Don't
set c-new-END to the end of logical line (which might be a long macro).
(c-after-change-mark-abnormal-strings): Calculate end-hwm in place of the
setting of c-new-END (above). Use this as a search limit rather than
c-new-END.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions