aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cc-engine.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/cc-engine.el')
-rw-r--r--lisp/progmodes/cc-engine.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 52f18a89849..47ceec309f4 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -7396,6 +7396,7 @@ comment at the start of cc-engine.el for more info."
7396 (let ((start (point)) 7396 (let ((start (point))
7397 start-char 7397 start-char
7398 (c-promote-possible-types t) 7398 (c-promote-possible-types t)
7399 lim
7399 ;; Turn off recognition of angle bracket arglists while parsing 7400 ;; Turn off recognition of angle bracket arglists while parsing
7400 ;; types here since the protocol reference list might then be 7401 ;; types here since the protocol reference list might then be
7401 ;; considered part of the preceding name or superclass-name. 7402 ;; considered part of the preceding name or superclass-name.
@@ -7423,6 +7424,7 @@ comment at the start of cc-engine.el for more info."
7423; (c-forward-token-2) ; 2006/1/13 This doesn't move if the token's 7424; (c-forward-token-2) ; 2006/1/13 This doesn't move if the token's
7424; at EOB. 7425; at EOB.
7425 (goto-char (match-end 0)) 7426 (goto-char (match-end 0))
7427 (setq lim (point))
7426 (c-skip-ws-forward) 7428 (c-skip-ws-forward)
7427 (c-forward-type)) 7429 (c-forward-type))
7428 7430
@@ -7447,7 +7449,7 @@ comment at the start of cc-engine.el for more info."
7447 t)))) 7449 t))))
7448 7450
7449 (progn 7451 (progn
7450 (c-backward-syntactic-ws) 7452 (c-backward-syntactic-ws lim)
7451 (c-clear-c-type-property start (1- (point)) 'c-decl-end) 7453 (c-clear-c-type-property start (1- (point)) 'c-decl-end)
7452 (c-put-c-type-property (1- (point)) 'c-decl-end) 7454 (c-put-c-type-property (1- (point)) 'c-decl-end)
7453 t) 7455 t)