From: Richard M. Stallman Date: Mon, 13 Feb 1995 18:10:28 +0000 (+0000) Subject: (c-switch-label-regexp): Insist on colon after `default'. X-Git-Tag: emacs-19.34~5125 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ce62eb25051e553e90aa63cb18d9db8aa447260;p=emacs.git (c-switch-label-regexp): Insist on colon after `default'. --- diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 8f2a61a0362..7bc185dd55f 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el @@ -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]*:") (defun c-mode ()