changeset 10733:d08b63758c1a

(c-switch-label-regexp): Insist on colon after `default'.
author Richard M. Stallman <rms@gnu.org>
date Mon, 13 Feb 1995 18:10:28 +0000
parents bd193969988d
children 634120aac320
files lisp/progmodes/c-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 ()