diff options
| author | Alan Mackenzie | 2016-08-27 19:57:42 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2016-08-27 19:57:42 +0000 |
| commit | a1a777ffdf13afebca24793ded469b3cf0e76290 (patch) | |
| tree | c7bda59a8ee3e97c506fc5e87222be7cf1a532a1 /src/alloc.c | |
| parent | 0ca712ca3d0df4d10664d97b5f4ba9f0a21e7a4c (diff) | |
| download | emacs-a1a777ffdf13afebca24793ded469b3cf0e76290.tar.gz emacs-a1a777ffdf13afebca24793ded469b3cf0e76290.zip | |
Handle the C++ "identifiers" "final" and "override" correctly.
This fixes bug #24319, allowing destructors affixed with these identifiers to
be correctly fontified.
* lisp/progmodes/cc-engine.el (c-forward-type, c-forward-decl-or-cast-1):
After reaching the "end" of a type expression, skip over any occurrences of
c-type-decl-suffix-ws-ids-key.
* lisp/progmodes/cc-langs.el (c-type-modifier-kwds): Remove "override" and
"final" from the C++ value.
(c-type-decl-suffix-ws-ids-kwds, c-type-decl-suffix-ws-ids-key): New lang
constants/variables for "final" and "override".
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions