summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2017-09-16 11:31:38 +0000
committerAlan Mackenzie <acm@muc.de>2017-09-16 11:31:38 +0000
commit4ea37c2b8b0c5a68fde59770c3536195e0972217 (patch)
tree4d961e699f3379139974cef30e8b7d26e0e7b4a1 /nt
parent2d53f8783ff8e48d91809741adab6a2402587fad (diff)
downloademacs-4ea37c2b8b0c5a68fde59770c3536195e0972217.tar.gz
Cope better with C++ and Objective-C protection keywords in class declarations
This fix fixes the fontification of a method inside a class at the time it is typed, when there is a protection keyword clause preceding it. * lisp/progmodes/cc-engine.el (c-forward-keyword-clause): Handle protection keywords. (c-looking-at-decl-block): Avoid scanning forward over protection keyword clauses too eagerly. * lisp/progmodes/cc-langs.el (c-protection-key c-post-protection-token): New lang defconsts and defvars. * lisp/progmodes/cc-mode.el (c-fl-decl-start): When we encounter a protection keyword following a semicolon or brace, move forward over it before attempting to parse a type.
Diffstat (limited to 'nt')
0 files changed, 0 insertions, 0 deletions