]> git.eshelyaron.com Git - emacs.git/commit
Implement "final" before C++ class inheritance lists.
authorAlan Mackenzie <acm@muc.de>
Sat, 13 Apr 2019 13:29:58 +0000 (13:29 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 13 Apr 2019 13:29:58 +0000 (13:29 +0000)
commitf9694a713824d402bcba01064ac2f95156bf4161
treedc202523afc5e6d9b191a3e46444d5ce2350b7d5
parentc2c9ef2c1e509f1a01ffaefd7475004854162a10
Implement "final" before C++ class inheritance lists.

* lisp/progmodes/cc-langs.el (c-class-id-suffix-ws-ids-kwds)
(c-class-id-suffix-ws-ids-key): New lang const/var.

* lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 5D.4): Check for and
skip over any matches for c-class-id-suffix-ws-ids-key (i.e. "final") before
":".
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el