C Mode: Fix mis-fontification of macro invocation as function declaration
commit33f856ba01d13f649cf5c848b322ecb0dbfc02fc
authorAlan Mackenzie <acm@muc.de>
Fri, 16 Sep 2016 10:47:55 +0000 (16 10:47 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 16 Sep 2016 10:47:55 +0000 (16 10:47 +0000)
tree5bceca518117109c5a69cf93066f4abf26fa6cfb
parent7123896626b06c26c4e37839ab41e41980c8f433
C Mode: Fix mis-fontification of macro invocation as function declaration

This happened with a macro invocation which was followed by a statement block
in braces.

* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): CASE 11: distinguish
between contexts nil and top, being less permissive in the former case.
(c-just-after-func-arglist-p): call c-forward-decl-or-cast-1 with context top.
lisp/progmodes/cc-engine.el