[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7264: 24.0.50; cc-mode: fontification of enums broken

From: Christoph
Subject: bug#7264: 24.0.50; cc-mode: fontification of enums broken
Date: Sat, 23 Oct 2010 08:22:57 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101006 Thunderbird/3.1.5

On 10/21/2010 05:11 PM, Christoph wrote:
Fontification of enumeration typedefs seems to be broken in the trunk

I traced the problem down to this bzr revision:

revno: 101882
committer: Alan Mackenzie <address@hidden>
branch nick: trunk
timestamp: Sat 2010-10-09 19:58:28 +0000
  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
  (c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.

This change might also cause bug #7265 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7265).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]