]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Stop /**/ spuriously fontifying as a doc comment under gtkdoc
authorAlan Mackenzie <acm@muc.de>
Sat, 27 Jul 2019 12:55:53 +0000 (12:55 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 27 Jul 2019 12:55:53 +0000 (12:55 +0000)
commit2f646633e0e29201c8fa0e39f4baec3a14491639
treee82bc5e2164d640d35c88d4af21026d7a1fc8ce0
parent1d4355261d2bf8d7244c66e7ce560f2a6fcaa4a7
CC Mode: Stop /**/ spuriously fontifying as a doc comment under gtkdoc

Also fix infinite loops by correcting two regexps.

* lisp/progmodes/cc-langs.el (c-last-c-comment-end-on-line-re)
(c-last-open-c-comment-start-on-line-re): Correct the regexp fragments
"\\*+[^/]" to "\\*+\\([^*/]\\|$\\)".

* lisp/progmodes/cc-fonts.el (gtkdoc-font-lock-keywords): Disallow /**/ for
doc comment fontification.
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el