aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJoakim Verona2012-02-10 08:29:52 +0100
committerJoakim Verona2012-02-10 08:29:52 +0100
commitdb2e8ff4fd52d6a06cef414787fd031cc26d43fa (patch)
treec0e6fe54a70be21c9efa1f34040ce08499754e74 /lisp/progmodes
parent8c5c7f5afa968d06efb6788cf680d5463c389d85 (diff)
parent667ced3a2d224b0f2ab3f2da26468791252c234a (diff)
downloademacs-db2e8ff4fd52d6a06cef414787fd031cc26d43fa.tar.gz
emacs-db2e8ff4fd52d6a06cef414787fd031cc26d43fa.zip
upstream
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-engine.el4
-rw-r--r--lisp/progmodes/cc-mode.el3
2 files changed, 5 insertions, 2 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)
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 0c86b68f1d9..374c9b434d1 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1155,7 +1155,8 @@ Note that the style variables are always made local to the buffer."
1155 ;; `c-set-fl-decl-start' for the detailed functionality. 1155 ;; `c-set-fl-decl-start' for the detailed functionality.
1156 (cons (c-set-fl-decl-start beg) end)) 1156 (cons (c-set-fl-decl-start beg) end))
1157 1157
1158(defvar c-standard-font-lock-fontify-region-function nil 1158(defvar c-standard-font-lock-fontify-region-function
1159 (default-value 'font-lock-fontify-region-function)
1159 "Standard value of `font-lock-fontify-region-function'") 1160 "Standard value of `font-lock-fontify-region-function'")
1160 1161
1161(defun c-font-lock-fontify-region (beg end &optional verbose) 1162(defun c-font-lock-fontify-region (beg end &optional verbose)