C++: fontify identifier in declaration following "public:" correctly.
authorAlan Mackenzie <acm@muc.de>
Sat, 21 Sep 2013 17:21:29 +0000 (17:21 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 21 Sep 2013 17:21:29 +0000 (17:21 +0000)
commitece15004709aa79faa2e19194c51699c0a86423e
treed587d703dd3772e2902d09a2319751c59a66a1b5
parentb3f1d1198a0dddc02423f0f766e9e213373fab60
C++: fontify identifier in declaration following "public:" correctly.
* progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
to match "public", etc.
(c-decl-prefix-re): Add ":" into the C++ value.
* progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
bit.  Add a check for a ":" preceded by "public", etc.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el