* lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings)
(c-after-change-mark-abnormal-strings): Check (eobp) in loops advancing over
escaped newlines.
;; was before unescaping a NL.)
(while
(progn (end-of-line)
- (eq (char-before) ?\\))
+ (and
+ (eq (char-before) ?\\)
+ (not (eobp))))
(forward-line))
;; We're at an EOLL or point-max.
(if (equal (c-get-char-property (point) 'syntax-table) '(15))
end))
(while
(progn (end-of-line)
- (eq (char-before) ?\\))
+ (and
+ (eq (char-before) ?\\)
+ (not (eobp))))
(forward-line))
(point))
c-new-END))