diff options
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index cc1991a5643..4dd8f51a070 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -1804,7 +1804,10 @@ Note that this is a strict tail, so won't match, e.g. \"0x....\".") | |||
| 1804 | (c-syntactic-skip-backward "^;{}" bod-lim t) | 1804 | (c-syntactic-skip-backward "^;{}" bod-lim t) |
| 1805 | (> (point) bod-lim) | 1805 | (> (point) bod-lim) |
| 1806 | (progn (c-forward-syntactic-ws) | 1806 | (progn (c-forward-syntactic-ws) |
| 1807 | (setq bo-decl (point)) | 1807 | ;; Have we got stuck in a comment at EOB? |
| 1808 | (not (and (eobp) | ||
| 1809 | (c-literal-start)))) | ||
| 1810 | (progn (setq bo-decl (point)) | ||
| 1808 | (or (not (looking-at c-protection-key)) | 1811 | (or (not (looking-at c-protection-key)) |
| 1809 | (c-forward-keyword-clause 1))) | 1812 | (c-forward-keyword-clause 1))) |
| 1810 | (progn | 1813 | (progn |