]> git.eshelyaron.com Git - emacs.git/commit
Make C++11 uniform init syntax work. New keywords "final" and "override"
authorAlan Mackenzie <acm@muc.de>
Fri, 19 Dec 2014 18:35:14 +0000 (18:35 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 19 Dec 2014 18:35:14 +0000 (18:35 +0000)
commit948fa912de164a1374c87e9206cddca741b7fa33
treeeae718e2393cf187800ae2fbfb2aa03b63dffb99
parent164cdfbf9e75a891bd8944a79f53bd403c6c2215
Make C++11 uniform init syntax work.  New keywords "final" and "override"

cc-engine.el (c-back-over-member-initializer-braces): New function.
(c-guess-basic-syntax): Set `containing-sex' and `lim' using the new
function.

cc-fonts.el (c-font-lock-declarations): Check more carefully for "are we
at a declarator?" using c-back-over-member-initializers.

cc-langs.el (c-type-modifier-kwds): include "final" and "override" in
the
C++ value.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el