# HG changeset patch # User Richard M. Stallman # Date 792699028 0 # Node ID d08b63758c1a15e852276227f6c873f0fb9b1e24 # Parent bd193969988da0d0d378e9bed4027072aaa3e327 (c-switch-label-regexp): Insist on colon after `default'. diff -r bd193969988d -r d08b63758c1a lisp/progmodes/c-mode.el --- a/lisp/progmodes/c-mode.el Mon Feb 13 18:05:23 1995 +0000 +++ b/lisp/progmodes/c-mode.el Mon Feb 13 18:10:28 1995 +0000 @@ -165,7 +165,7 @@ ;;; 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 ()