• Alan Mackenzie's avatar
    Handle the C++ "identifiers" "final" and "override" correctly. · a1a777ff
    Alan Mackenzie authored
    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".
    a1a777ff
cc-langs.el 137 KB