]> git.eshelyaron.com Git - emacs.git/commit
Correctly fontify C++ initializations which "look like" functions.
authorAlan Mackenzie <acm@muc.de>
Thu, 4 Feb 2016 19:01:50 +0000 (19:01 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 4 Feb 2016 19:01:50 +0000 (19:01 +0000)
commit9dfece1413846e4df438cd20956c58e12c84dea3
treeb2595ebe194a3e9e2898d3933c2943d560b78f26
parent448522201a12413b6fd4f059202b4d9a79ad3699
Correctly fontify C++ initializations which "look like" functions.

Fixes bug#7579.

lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
parameter to enable handling of "anonymous" declarators in declarations.

lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
whether a "(" opens a parameter list of a function, or an initialization of a
variable.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el