diff lisp/cc-mode/cc-engine.el @ 177:6075d714658b r20-3b15

Import from CVS: tag r20-3b15
author cvs
date Mon, 13 Aug 2007 09:51:16 +0200
parents 2d532a89d707
children bfd6434d15b3
line wrap: on
line diff
--- a/lisp/cc-mode/cc-engine.el	Mon Aug 13 09:50:16 2007 +0200
+++ b/lisp/cc-mode/cc-engine.el	Mon Aug 13 09:51:16 2007 +0200
@@ -7,7 +7,7 @@
 ;;             1985 Richard M. Stallman
 ;; Maintainer: cc-mode-help@python.org
 ;; Created:    22-Apr-1997 (split from cc-mode.el)
-;; Version:    5.13
+;; Version:    5.14
 ;; Keywords:   c languages oop
 
 ;; This file is part of GNU Emacs.
@@ -57,7 +57,7 @@
 			    (setq saved (point))
 			    t))
 	     (progn (c-backward-syntactic-ws lim)
-		    (memq (char-before) '(?\; ?{ ?} ?:)))
+		    (memq (char-before) '(?\; ?{ ?:)))
 	     )
 	(setq last-begin saved)
       (goto-char last-begin)
@@ -1249,6 +1249,8 @@
 	      (if inclass-p
 		  (progn
 		    (goto-char (aref inclass-p 1))
+		    (or (= (point) (c-point 'boi))
+			(goto-char (aref inclass-p 0)))
 		    (if inextern-p
 			(c-add-syntax 'inextern-lang)
 		      (c-add-syntax 'inclass (c-point 'boi)))))