From: Yuan Fu <casouri@gmail.com>
To: "Daniel Martín" <mardani29@yahoo.es>
Cc: 60441-done@debbugs.gnu.org
Subject: bug#60441: [PATCH] Fontification of function declarators with reference return types is incorrect in c++-ts-mode
Date: Sun, 1 Jan 2023 16:26:14 -0800 [thread overview]
Message-ID: <462D9A99-5D8D-4AD5-97C3-017389635E22@gmail.com> (raw)
In-Reply-To: <m14jtc8kg9.fsf@yahoo.es>
Daniel Martín <mardani29@yahoo.es> writes:
> Given the following valid C++ code:
>
> class Foo {
> public:
> Bar& getBar();
> };
>
> c++-ts-mode does not fontify getBar with the
> font-lock-function-name-face face.
>
> I've attached a fix to treat reference declarators in
> c-ts-mode--declarator-identifier similarly to pointer_declarators.
Applied, thanks!
Yuan
prev parent reply other threads:[~2023-01-02 0:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m14jtc8kg9.fsf.ref@yahoo.es>
2022-12-31 0:51 ` bug#60441: [PATCH] Fontification of function declarators with reference return types is incorrect in c++-ts-mode Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-02 0:26 ` Yuan Fu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=462D9A99-5D8D-4AD5-97C3-017389635E22@gmail.com \
--to=casouri@gmail.com \
--cc=60441-done@debbugs.gnu.org \
--cc=mardani29@yahoo.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).