]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-switch-label-regexp): Insist on colon after `default'.
authorRichard M. Stallman <rms@gnu.org>
Mon, 13 Feb 1995 18:10:28 +0000 (18:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 13 Feb 1995 18:10:28 +0000 (18:10 +0000)
lisp/progmodes/c-mode.el

index 8f2a61a03623b1fa8000beabeed52cd44ac27c07..7bc185dd55f659f0e53e4218e0314797f4a3b018 100644 (file)
@@ -165,7 +165,7 @@ regardless of where in the line point is when the TAB command is used.")
 
 ;;; Regular expression used internally to recognize labels in switch
 ;;; statements.
-(defconst c-switch-label-regexp "case[ \t'/(]\\|default\\(\\S_\\|'\\)")
+(defconst c-switch-label-regexp "case[ \t'/(]\\|default[ \t]*:")
 
 \f
 (defun c-mode ()