]> code.delx.au - gnu-emacs/commit
Add "enum classs" support to C++ mode.
authorAlan Mackenzie <acm@muc.de>
Thu, 30 Oct 2014 16:07:19 +0000 (16:07 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 30 Oct 2014 16:07:19 +0000 (16:07 +0000)
commitff73c2c3e2b99c1a759fd876464d36f6dd57a4b0
tree6c258dd1e745ba5da9ee2d7e2916d4a0168c1b5d
parentff7ec46d34fa2371ca22b046d1b8654c88dc24db
Add "enum classs" support to C++ mode.
progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
(c-after-brace-list-key): New language consts/variables.
progmodes/cc-engine.el (c-looking-at-decl-block): Exclude
spurious match of "enum struct" from decl-block recognition.
(c-backward-colon-prefixed-type): New function.
(c-backward-over-enum-header): Call above function to extend
recognition of enum structure.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el