From 0ce62eb25051e553e90aa63cb18d9db8aa447260 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 13 Feb 1995 18:10:28 +0000 Subject: (c-switch-label-regexp): Insist on colon after `default'. --- lisp/progmodes/c-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/progmodes') 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 () -- cgit v1.2.1