Enhance fontification of declarators to take account of the
[bpt/emacs.git] / lisp / ChangeLog
index bbe3d70..c7ebc60 100644 (file)
@@ -1,3 +1,24 @@
+2010-10-09  Alan Mackenzie  <acm@muc.de>
+
+       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.
+
 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,