bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62339: cc-mode fontifies variables incorrectly when const follows ty


From: Daniel Colascione
Subject: bug#62339: cc-mode fontifies variables incorrectly when const follows type
Date: Wed, 22 Mar 2023 10:19:55 -0400
User-agent: mu4e 1.9.21; emacs 30.0.50

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Daniel Colascione <dancol@dancol.org>
>> Date: Tue, 21 Mar 2023 11:14:13 -0400
>> 
>> 
>> cc-mode incorrectly fontifies my_variable as a type in "MyType const
>> my_variable"
>
> I cannot reproduce this, at least not in Emacs 29 and 30.  In which
> version of Emacs do you see this?  If Emacs 29 or later, can you show
> a minimal example source file where it happens?
>
> Thanks.

This problem reproduces for me on latest master with emacs -Q:

```
TEST(Foo, Bar) {
  NamedTemporaryDirectory const test_directory;
}
```





reply via email to

[Prev in Thread] Current Thread [Next in Thread]