Enhance fontification of declarators to take account of the
authorAlan Mackenzie <acm@muc.de>
Sat, 9 Oct 2010 19:58:28 +0000 (19:58 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 9 Oct 2010 19:58:28 +0000 (19:58 +0000)
commite15f8aaa0eb8ac5455d8b5f7536faf7c2b9acbbc
tree3611031fc35a4f1effe7afba8ced057d963529f0
parenteef3ab9443a2cef449d08aa8832f96007fc3a36b
Enhance fontification of declarators to take account of the
presence/absence of "typedef".

cc-engine.el (c-forward-type): New &optional param "brace-block-too".
(c-forward-decl-or-cast-1): cdr of return value now indicates the
presence of either or both of a "struct"-like keyword and "typedef".

cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification
of declarators which follow a "}".
(c-font-lock-declarations): Fontify declarators according to the
presence/absence of "typedef".

cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable for
"typedef".
(c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el