1. xemacs
  2. cc-mode


youngs  committed 3bb9349

Sync with the normal package tree.

  • Participants
  • Parent commits 8ee3174
  • Branches default

Comments (0)

Files changed (2)

File ChangeLog

View file
+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):

File cc-langs.el

View file
 (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 ":\\([^:]\\|$\\)"))