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

[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 13:07:02 +0300

> From: Po Lu <luangruo@yahoo.com>
> Cc: acm@muc.de,  64204@debbugs.gnu.org
> Date: Thu, 22 Jun 2023 15:15:34 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > All the uses of '$' in identifiers should be controlled by that
> > option.
> 
> CC Mode doesn't make use of identifiers containing $.  No syntax
> features are affected, I think, only fontification.

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.





reply via email to

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