]> git.eshelyaron.com Git - emacs.git/commit
Fix CC Mode fontification problem apparent in test file decls-6.cc.
authorAlan Mackenzie <acm@muc.de>
Sun, 19 Jun 2016 12:06:24 +0000 (12:06 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 19 Jun 2016 12:06:24 +0000 (12:06 +0000)
commit4e9014f02574039ba7d131fba94af728efd41397
tree86a5bee881d7b3a559ac936dfac55ae58e33ef77
parent65885ccf29ce4723f100a45756005781e8e7ab46
Fix CC Mode fontification problem apparent in test file decls-6.cc.

* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Recognize
"bar (gnu);" as a declarator only when the construct is directly inside a
class (etc.) called "bar".
(c-directly-in-class-called-p): New function.
lisp/progmodes/cc-engine.el