summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2019-05-18 15:20:49 +0000
committerAlan Mackenzie <acm@muc.de>2019-05-18 15:20:49 +0000
commit95fb826dc58965eac287c0826831352edf2e56f7 (patch)
tree32857db5b79ef4dcac22a4b5be2fd8a6c3972a30 /lisp/emacs-lisp/bytecomp.el
parent67b6c1b295afb0c2f51a2e01e19ab4682845148e (diff)
downloademacs-95fb826dc58965eac287c0826831352edf2e56f7.tar.gz
emacs-95fb826dc58965eac287c0826831352edf2e56f7.tar.bz2
emacs-95fb826dc58965eac287c0826831352edf2e56f7.zip
CC Mode: Handle several consecutive noise macros in declaration contexts.
In the bug scenario, the second and subsequent noise macros with parentheses were getting font-lock-type-face. * lisp/progmodes/cc-engine.el (c-end-of-token) (c-forward-noise-clause-not-macro-decl): New functions. (c-find-decl-prefix-search): Handle noise macros by skipping over them. (c-forward-decl-or-cast-1): In the loop checking for types, skip over all consecutive noise macros with parens, not just one.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions