diff options
author | Alan Mackenzie <acm@muc.de> | 2019-05-18 15:20:49 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2019-05-18 15:20:49 +0000 |
commit | 95fb826dc58965eac287c0826831352edf2e56f7 (patch) | |
tree | 32857db5b79ef4dcac22a4b5be2fd8a6c3972a30 /lisp/emacs-lisp/timer.el | |
parent | 67b6c1b295afb0c2f51a2e01e19ab4682845148e (diff) | |
download | emacs-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/timer.el')
0 files changed, 0 insertions, 0 deletions