Anonymous avatar 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 ":\\([^:]\\|$\\)"))
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.