mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
CC Mode: Fix wrong fontification of enum foo bar; in Objective C Mode
This fixes bug #58795 and bug #58796. * lisp/progmodes/cc-langs.el (c-type-prefix-kwds): Add the missing entry for objc.
This commit is contained in:
parent
879c65a5fc
commit
f9ed80f9d0
1 changed files with 1 additions and 1 deletions
|
|
@ -2319,7 +2319,7 @@ Note that an alternative if the second part doesn't hold is
|
|||
`c-type-list-kwds'. Keywords on this list are typically also present
|
||||
on one of the `*-decl-kwds' lists."
|
||||
t nil
|
||||
c '("struct" "union" "enum")
|
||||
(c objc) '("struct" "union" "enum")
|
||||
c++ (append '("class" "typename")
|
||||
(c-lang-const c-type-prefix-kwds c)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue