The below patch fixes a previous change I made (to fix switch label
fontification) that causes missing fontification of a member name declared
directly following a label in a C++ class declaration.

2006-12-12  Simon Marshall  <[EMAIL PROTECTED]>

        * progmodes/cc-fonts.el (c-font-lock-declarations): Fix previous
change.

===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/cc-fonts.el,v
retrieving revision 1.18
diff -c -r1.18 cc-fonts.el
*** cc-fonts.el 15 Nov 2006 16:31:03 -0000      1.18
--- cc-fonts.el 12 Dec 2006 10:55:10 -0000
***************
*** 1179,1185 ****
          ;; The below code attempts to fontify the case constants in
          ;; c-label-face-name, but it cannot catch every case [sic].
          ;; And do we want to fontify case constants anyway?
!         nil
  ;;;     (when (c-forward-label t match-pos nil)
  ;;;       ;; Can't use `c-fontify-types-and-refs' here since we
  ;;;       ;; should use the label face.
--- 1179,1185 ----
          ;; The below code attempts to fontify the case constants in
          ;; c-label-face-name, but it cannot catch every case [sic].
          ;; And do we want to fontify case constants anyway?
!         (c-forward-label t match-pos nil)
  ;;;     (when (c-forward-label t match-pos nil)
  ;;;       ;; Can't use `c-fontify-types-and-refs' here since we
  ;;;       ;; should use the label face.


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to