aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/progmodes/cc-engine.el6
-rw-r--r--lisp/progmodes/cc-fonts.el2
3 files changed, 14 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a2c38104bc8..ecb5ef0e70e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12013-10-20 Alan Mackenzie <acm@muc.de>
2
3 Allow comma separated lists after Java "implements".
4
5 * progmodes/cc-engine.el (c-backward-over-enum-header): parse
6 commas.
7 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8 from a "disallowed" list in enum fontification.
9
12013-10-20 Johan Bockgård <bojohan@gnu.org> 102013-10-20 Johan Bockgård <bojohan@gnu.org>
2 11
3 * startup.el (default-frame-background-mode): Remove unused 12 * startup.el (default-frame-background-mode): Remove unused
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 0d25e1355e7..8cdb3379f66 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -8492,10 +8492,12 @@ comment at the start of cc-engine.el for more info."
8492 (or (not (looking-at "\\s)")) 8492 (or (not (looking-at "\\s)"))
8493 (c-go-up-list-backward)) 8493 (c-go-up-list-backward))
8494 (cond 8494 (cond
8495 ((and (looking-at c-symbol-key) (c-on-identifier)) 8495 ((and (looking-at c-symbol-key) (c-on-identifier)
8496 (not before-identifier))
8496 (setq before-identifier t)) 8497 (setq before-identifier t))
8497 ((and before-identifier 8498 ((and before-identifier
8498 (looking-at c-postfix-decl-spec-key)) 8499 (or (eq (char-after) ?,)
8500 (looking-at c-postfix-decl-spec-key)))
8499 (setq before-identifier nil) 8501 (setq before-identifier nil)
8500 t) 8502 t)
8501 ((looking-at c-brace-list-key) nil) 8503 ((looking-at c-brace-list-key) nil)
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el
index bcd4a5f28f8..ada83ac41b4 100644
--- a/lisp/progmodes/cc-fonts.el
+++ b/lisp/progmodes/cc-fonts.el
@@ -1884,7 +1884,7 @@ higher."
1884 "\\)\\>" 1884 "\\)\\>"
1885 ;; Disallow various common punctuation chars that can't come 1885 ;; Disallow various common punctuation chars that can't come
1886 ;; before the '{' of the enum list, to avoid searching too far. 1886 ;; before the '{' of the enum list, to avoid searching too far.
1887 "[^\]\[{}();,/#=]*" 1887 "[^\]\[{}();/#=]*"
1888 "{") 1888 "{")
1889 '((c-font-lock-declarators limit t nil) 1889 '((c-font-lock-declarators limit t nil)
1890 (save-match-data 1890 (save-match-data