diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-02-13 18:10:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-02-13 18:10:28 +0000 |
commit | 7f6278186c2ed09a5eb0bad3fe180e91d5e1a42f (patch) | |
tree | dca4769b3aff9adeff0f589dcf70e8d7a6cd352c /lisp/progmodes/c-mode.el | |
parent | 717980d865021329372529181b791605d880dbf2 (diff) | |
download | emacs-7f6278186c2ed09a5eb0bad3fe180e91d5e1a42f.tar.gz |
(c-switch-label-regexp): Insist on colon after `default'.
Diffstat (limited to 'lisp/progmodes/c-mode.el')
-rw-r--r-- | lisp/progmodes/c-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 () |