diff options
| author | Richard M. Stallman | 1995-02-13 18:10:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-02-13 18:10:28 +0000 |
| commit | 0ce62eb25051e553e90aa63cb18d9db8aa447260 (patch) | |
| tree | 68cbbe8590a3ec47bdb9ab9f67e65960daad8dab | |
| parent | e5cd8a87da242884420c93cb007f1247296c8b0d (diff) | |
| download | emacs-0ce62eb25051e553e90aa63cb18d9db8aa447260.tar.gz emacs-0ce62eb25051e553e90aa63cb18d9db8aa447260.zip | |
(c-switch-label-regexp): Insist on colon after `default'.
| -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.") | |||
| 165 | 165 | ||
| 166 | ;;; Regular expression used internally to recognize labels in switch | 166 | ;;; Regular expression used internally to recognize labels in switch |
| 167 | ;;; statements. | 167 | ;;; statements. |
| 168 | (defconst c-switch-label-regexp "case[ \t'/(]\\|default\\(\\S_\\|'\\)") | 168 | (defconst c-switch-label-regexp "case[ \t'/(]\\|default[ \t]*:") |
| 169 | 169 | ||
| 170 | 170 | ||
| 171 | (defun c-mode () | 171 | (defun c-mode () |