mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-21 18:23:59 +00:00
CC Mode: Fix wrong fontification of FOO in ASSERT (FOO && !BAR)
* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't recognize the construct in CASE 18, unless additionally at-decl-end is set.
This commit is contained in:
parent
e9724b559e
commit
56985dd8a6
@ -10100,7 +10100,8 @@ This function might do hidden buffer changes."
|
||||
(throw 'at-decl-or-cast t)))))
|
||||
|
||||
;; CASE 18
|
||||
(when (and (not (memq context '(nil top)))
|
||||
(when (and at-decl-end
|
||||
(not (memq context '(nil top)))
|
||||
(or (and got-prefix (not got-number))
|
||||
(and (eq context 'decl)
|
||||
(not c-recognize-paren-inits)
|
||||
|
Loading…
Reference in New Issue
Block a user