[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62339: cc-mode fontifies variables incorrectly when const follows ty
From: |
Eli Zaretskii |
Subject: |
bug#62339: cc-mode fontifies variables incorrectly when const follows type |
Date: |
Wed, 22 Mar 2023 17:12:52 +0200 |
> From: Daniel Colascione <dancol@dancol.org>
> Cc: 62339@debbugs.gnu.org
> Date: Wed, 22 Mar 2023 10:19:55 -0400
>
> This problem reproduces for me on latest master with emacs -Q:
>
> ```
> TEST(Foo, Bar) {
> NamedTemporaryDirectory const test_directory;
> }
> ```
Thanks. What I see with Emacs built from master is that
test_directory in the above example gets font-lock-type-face in
c++-mode (but not in c-mode). With Emacs built from emacs-29, both
modes produce correct fontification.
Alan, can you please look into this?
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Daniel Colascione, 2023/03/21
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Eli Zaretskii, 2023/03/21
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Daniel Colascione, 2023/03/22
- bug#62339: cc-mode fontifies variables incorrectly when const follows type,
Eli Zaretskii <=
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Alan Mackenzie, 2023/03/22
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Daniel Colascione, 2023/03/22
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Po Lu, 2023/03/22
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Daniel Colascione, 2023/03/22
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Po Lu, 2023/03/23
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Eli Zaretskii, 2023/03/23
- bug#62339: cc-mode fontifies variables incorrectly when const follows type, Alan Mackenzie, 2023/03/23