--- Begin Message ---
Subject: |
[PATCH] Fontification of function declarators with reference return types is incorrect in c++-ts-mode |
Date: |
Sat, 31 Dec 2022 01:51:02 +0100 |
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.
0001-Fix-fontification-of-C-functions-with-reference-retu.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: 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 |
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
--- End Message ---