Commits

Anonymous committed 3bb9349

Sync with the normal package tree.

Comments (0)

Files changed (2)

+2001-05-11  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+	* cc-langs.el (c-switch-label-key): Regexp fix.
+
 2001-02-24  Ben Wing  <ben@xemacs.org>
 
 	* Makefile (MANUAL):
 (make-variable-buffer-local 'c-comment-start-regexp)
 
 ;; Regexp describing a switch's case or default label for all languages
-(defconst c-switch-label-key "\\(\\(case[( \t]+\\S .*\\)\\|default[ \t]*\\):")
+(defconst c-switch-label-key "\\(\\(case[( \t]+\\S [^:]*\\)\\|default[ \t]*\\):")
 ;; Regexp describing any label.
 (defconst c-label-key (concat c-symbol-key ":\\([^:]\\|$\\)"))