C++ Mode: Fontify correctly uniform initialisation with inner parentheses.
commitb02a06317b04b56d54f73a7d97568a0bc150a18b
authorAlan Mackenzie <acm@muc.de>
Tue, 16 Jan 2018 21:59:03 +0000 (16 21:59 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 16 Jan 2018 21:59:03 +0000 (16 21:59 +0000)
treefbb50c28f5d917f4b0e58e8e000b4e93f2437b20
parent743323e570dcb2fdb98a9067073176811fb5428c
C++ Mode: Fontify correctly uniform initialisation with inner parentheses.

E.g.: someStruct x ( (nullptr != y) ? 3 : 4 )
Also fontify declarations of function pointers correctly.

* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): While testing for a
typeless declaration, additionally test the variable `got-prefix' to
recognize a function pointer in parentheses.  Allow c-fdoc-shift-type-backward
to be invoked when we have nested parens.
lisp/progmodes/cc-engine.el