]> git.eshelyaron.com Git - emacs.git/commit
c-end-of-macro: Handle block coment lines with unescaped NLs correctly
authorAlan Mackenzie <acm@muc.de>
Mon, 10 Feb 2020 21:20:12 +0000 (21:20 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 10 Feb 2020 21:20:12 +0000 (21:20 +0000)
commitad5e350ab764f3a420d29f24ab3222f671b2e8c0
tree6b94248be6fc1053ec5873944cc8827453801cfd
parent06c302d425fc2093130479b8aed7da4507d43331
c-end-of-macro: Handle block coment lines with unescaped NLs correctly

* lisp/progmodes/cc-langs.el (c-last-open-c-comment-start-on-line-re): Make
obsolete, and supersede by ...
(c-open-c-comment-on-logical-line-re): New language variable.

* lisp/progmodes/cc-engine.el (c-end-of-macro): Inside macros, handle
multiline block comments whose line ends are not escaped correctly.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el