mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix (again) regexp bug in CC Mode.
* lisp/progmodes/cc-mode.el (c-after-change-mark-abnormal-strings): "|\\\r" -> "\\|\r".
This commit is contained in:
parent
eb6bbd9fb1
commit
14e9a428c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1366,7 +1366,7 @@ Note that the style variables are always made local to the buffer."
|
|||
(unless (and (c-major-mode-is 'c++-mode)
|
||||
(c-maybe-re-mark-raw-string))
|
||||
(if (c-unescaped-nls-in-string-p (1- (point)))
|
||||
(looking-at "\\(\\\\\\(.\\|\n|\\\r\\)\\|[^\"]\\)*")
|
||||
(looking-at "\\(\\\\\\(.\\|\n\\|\r\\)\\|[^\"]\\)*")
|
||||
(looking-at (cdr (assq (char-before) c-string-innards-re-alist))))
|
||||
(cond
|
||||
((memq (char-after (match-end 0)) '(?\n ?\r))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue