1 new commit in cc-mode:
https://bitbucket.org/xemacs/cc-mode/commits/64ee02d22cfb/
Changeset: 64ee02d22cfb
User: acm
Date: 2013-10-20 16:10:20
Summary: Allow comma separated lists after Java "implements".
cc-engine.el (c-backward-over-enum-header): parse commas.
cc-fonts.el (c-basic-matchers-after): Remove comma from a "disallowed"
list in enum fontification.
Affected #: 2 files
diff -r 2c2c08ff55bd0b3d2369fc6dd137fadad19d7b5b -r
64ee02d22cfb6b9e7d7ea0f6b75f34bf552f83d1 cc-engine.el
--- a/cc-engine.el
+++ b/cc-engine.el
@@ -8527,10 +8527,12 @@
(or (not (looking-at "\\s)"))
(c-go-up-list-backward))
(cond
- ((and (looking-at c-symbol-key) (c-on-identifier))
+ ((and (looking-at c-symbol-key) (c-on-identifier)
+ (not before-identifier))
(setq before-identifier t))
((and before-identifier
- (looking-at c-postfix-decl-spec-key))
+ (or (eq (char-after) ?,)
+ (looking-at c-postfix-decl-spec-key)))
(setq before-identifier nil)
t)
((looking-at c-brace-list-key) nil)
diff -r 2c2c08ff55bd0b3d2369fc6dd137fadad19d7b5b -r
64ee02d22cfb6b9e7d7ea0f6b75f34bf552f83d1 cc-fonts.el
--- a/cc-fonts.el
+++ b/cc-fonts.el
@@ -1852,7 +1852,7 @@
"\\)\\>"
;; Disallow various common punctuation chars that can't come
;; before the '{' of the enum list, to avoid searching too far.
- "[^\]\[{}();,/#=]*"
+ "[^\]\[{}();/#=]*"
"{")
'((c-font-lock-declarators limit t nil)
(save-match-data
Repository URL:
https://bitbucket.org/xemacs/cc-mode/
--
This is a commit notification from
bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches