[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59468: 29.0.50; c-ts-mode cannot fontify after macros are encounter
From: |
Eli Zaretskii |
Subject: |
bug#59468: 29.0.50; c-ts-mode cannot fontify after macros are encountered |
Date: |
Wed, 23 Nov 2022 14:43:23 +0200 |
> From: Yuan Fu <casouri@gmail.com>
> Date: Tue, 22 Nov 2022 20:13:49 -0800
> Cc: luangruo@yahoo.com,
> 59468@debbugs.gnu.org
>
> > Is it possible to do something on our end for processing the error nodes,
> > which would remedy the issue with macros? Or maybe some other way of
> > handling the macros by ourselves?
>
> For each of the ERROR nodes, we can look at the skipped tokens inside, and
> look around with some regex searching. That would take some non-trivial
> effort, I imagine.
If nothing better comes up, maybe this is what we should do. For
fontifications, perhaps using some small subset of CC Mode for level-2
fontifications should be relatively easy?
bug#59468: 29.0.50; c-ts-mode cannot fontify after macros are encountered, Yuan Fu, 2022/11/23
bug#59468: 29.0.50; c-ts-mode cannot fontify after macros are encountered, Yuan Fu, 2022/11/23
bug#59468: 29.0.50; c-ts-mode cannot fontify after macros are encountered, Po Lu, 2022/11/25