1 new commit in cc-mode:
https://bitbucket.org/xemacs/cc-mode/changeset/e770c8edaf09/
changeset: e770c8edaf09
user: acm
date: 2012-02-07 12:37:40
summary: cc-engine.el (c-forward-objc-directive): Prevent looping in "#pragma
mark
@implementation".
affected #: 1 file
diff -r 342dcd485019a39b4da093a047e0d9f9f9ae6a67 -r
e770c8edaf094658914a4647238e8069089d4b0f cc-engine.el
--- a/cc-engine.el
+++ b/cc-engine.el
@@ -7426,6 +7426,7 @@
(let ((start (point))
start-char
(c-promote-possible-types t)
+ lim
;; Turn off recognition of angle bracket arglists while parsing
;; types here since the protocol reference list might then be
;; considered part of the preceding name or superclass-name.
@@ -7453,6 +7454,7 @@
; (c-forward-token-2) ; 2006/1/13 This doesn't move if the token's
; at EOB.
(goto-char (match-end 0))
+ (setq lim (point))
(c-skip-ws-forward)
(c-forward-type))
@@ -7477,7 +7479,7 @@
t))))
(progn
- (c-backward-syntactic-ws)
+ (c-backward-syntactic-ws lim)
(c-clear-c-type-property start (1- (point)) 'c-decl-end)
(c-put-c-type-property (1- (point)) 'c-decl-end)
t)
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