1 new commit in cc-mode:
https://bitbucket.org/xemacs/cc-mode/commits/3a1093a26bbd/
Changeset: 3a1093a26bbd
User: acm
Date: 2014-08-23 12:42:07
Summary: Fix infinite loop.
cc-fonts.el (c-font-lock-declarators): Amend patch from 2014-08-02.
Affected #: 1 file
diff -r 1bb8128d249099c24d9ad4535f40d4394d90c84b -r
3a1093a26bbdc2c77ecf381cade7be1de40931ae cc-fonts.el
--- a/cc-fonts.el
+++ b/cc-fonts.el
@@ -1088,14 +1088,11 @@
;; initializing brace lists.
(let (found)
(while
- (and (setq found
- (c-syntactic-re-search-forward
- "[;,]\\|\\s)\\|\\'\\|\\(=\\|\\s(\\)" limit t t))
- (eq (char-before) ?\[))
- (backward-char)
- (c-safe (c-forward-sexp 1))
- (setq found nil)
- (setq brackets-after-id t))
+ (and (setq found (c-syntactic-re-search-forward
+ "[;,]\\|\\s)\\|\\'\\|\\(=\\|\\s(\\)" limit t t))
+ (eq (char-before) ?\[)
+ (c-go-up-list-forward))
+ (setq brackets-after-id t))
found))
(setq next-pos (match-beginning 0)
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