Fix fontification bugs with constructors and const.
authorAlan Mackenzie <acm@muc.de>
Sat, 19 Oct 2013 15:11:07 +0000 (15:11 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 19 Oct 2013 15:11:07 +0000 (15:11 +0000)
commit033f22ddadf6c11b4d35108f3c299692bb3bbc60
tree30720b2a9f090a33972c681db7026c37f13d277e
parent8d02f0ad3ba4cb4863f99579454c29e55149ffd9
Fix fontification bugs with constructors and const.

* progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
CASE 2) Remove the check for the absence of a suffix construct
after a function declaration with only types (no identifiers) in
the parentheses.  Also, accept a function declaration with just a
type inside the parentheses, if this type can be positively
recognised as such, or if a prefix keyword like "explicit" nails
down the construct as a declaration.
lisp/ChangeLog
lisp/progmodes/cc-engine.el