diff options
author | Alan Mackenzie <acm@muc.de> | 2016-12-30 15:31:42 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2016-12-30 15:31:42 +0000 |
commit | a285645b8ba0b01e559a26258035ae1a70e3fad2 (patch) | |
tree | 787ddbdd0069b56c737d94880ae0bf2e64e978d0 /test/lisp/emacs-lisp/subr-x-tests.el | |
parent | 543532313a1d9570d6a74a7846b4e776a2282964 (diff) | |
download | emacs-a285645b8ba0b01e559a26258035ae1a70e3fad2.tar.gz emacs-a285645b8ba0b01e559a26258035ae1a70e3fad2.tar.bz2 emacs-a285645b8ba0b01e559a26258035ae1a70e3fad2.zip |
CC Mode: Fix the fontification of a spuriously recognised enum member.
The "enum" was in an argument list, but triggered the fontification of a
following identifier in the function block as though it were in an enum
declaration.
* lisp/progmodes/cc-fonts.el (c-font-lock-enum-body): New function.
(c-basic-matchers-after): Replace the inline stanza for enum elements with a
call to c-font-lock-enum-body.
* lisp/progmodes/cc-langs.el (c-enum-clause-introduction-re): New language
variable.
Diffstat (limited to 'test/lisp/emacs-lisp/subr-x-tests.el')
0 files changed, 0 insertions, 0 deletions