[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64204: C/C++ local variables not syntax highlighted if they start wi
From: |
Eli Zaretskii |
Subject: |
bug#64204: C/C++ local variables not syntax highlighted if they start with $ |
Date: |
Thu, 22 Jun 2023 15:00:00 +0300 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: acm@muc.de, 64204@debbugs.gnu.org
> Date: Thu, 22 Jun 2023 19:46:41 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > I _am_ talking about fontifications. One of the main purposes of
> > fontifying code is to give the programmer feedback regarding the
> > syntax and semantics of the code. Flagging invalid syntax is
> > therefore important, and when $ are invalid in identifiers, showing
> > that with fontifications is important.
>
> But CC Mode fontification has never been intended to flag invalid
> syntax: instead of not being fontified at all, invalid syntax is simply
> fontified every which way.
It is fontified the way the syntax is interpreted, which is exactly
what I'm talking about.
> This is not a problem one option can solve; it will require large
> scale redesign of CC Mode, and detecting invalid syntax is more the
> forte of c-ts-mode anyway.
No redesign is needed.
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, (continued)
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Alan Mackenzie, 2023/06/21
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Alan Mackenzie, 2023/06/21
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Eli Zaretskii, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Po Lu, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Eli Zaretskii, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Po Lu, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Eli Zaretskii, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Po Lu, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Eli Zaretskii, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Po Lu, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $,
Eli Zaretskii <=
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Po Lu, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Alan Mackenzie, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Eli Zaretskii, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Alan Mackenzie, 2023/06/22
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Alan Mackenzie, 2023/06/28
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Eli Zaretskii, 2023/06/28
- bug#64204: C/C++ local variables not syntax highlighted if they start with $, Joseph Garvin, 2023/06/29