like `struct X Y', finish with point after Y.
+2001-07-04 Gerd Moellmann <gerd@gnu.org>
+
+ * font-lock.el (c-font-lock-keywords-3): When matching something
+ like `struct X Y', finish with point after Y.
+
2001-07-03 Eli Zaretskii <eliz@is.elta.co.il>
* find-file.el (ff-find-the-other-file): Use file-name-nondirectory
(list 1 'font-lock-keyword-face)
(list ,(+ c-type-specs-depth 2) 'font-lock-type-face nil t)
(list 'font-lock-match-c-style-declaration-item-and-skip-to-next
- nil nil
+ nil
+ ;; Finish with point after the variable name if
+ ;; there is one.
+ `(if (match-end 2)
+ (goto-char (match-end 2)))
;; Fontify as a variable or function name.
'(1 (if (match-beginning 2)
font-lock-function-name-face