[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11865: Fwd: Re: 24.1.50; doxygen comments not highlighted in c++-mod
From: |
Lars Ingebrigtsen |
Subject: |
bug#11865: Fwd: Re: 24.1.50; doxygen comments not highlighted in c++-mode |
Date: |
Fri, 26 Feb 2016 14:07:05 +1030 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Toon Claes <toon@tonotdo.com> writes:
> (defconst gtkdoc-font-lock-keywords
> `((,(lambda (limit)
> - (c-font-lock-doc-comments "/**$" limit
> + (c-font-lock-doc-comments "/**([^*/].*)?$" limit
Can this be correct, though? It would mean that /** foo / **/ wouldn't
be a comment... and anyway, the /** is invalid as a regexp, anyway.
The current code looks like
(defconst gtkdoc-font-lock-keywords
`((,(lambda (limit)
(c-font-lock-doc-comments "/\\*\\*$" limit
gtkdoc-font-lock-doc-comments)
(c-font-lock-doc-comments "/\\*< " limit
gtkdoc-font-lock-doc-protection)
))))
Which looks more correct anyway. So I think this has already been fixed
in a different manner, and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#11865: Fwd: Re: 24.1.50; doxygen comments not highlighted in c++-mode,
Lars Ingebrigtsen <=