[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 05:30:53 +0200 |
> Cc: 59468@debbugs.gnu.org
> From: Yuan Fu <casouri@gmail.com>
> Date: Tue, 22 Nov 2022 12:11:17 -0800
>
> I’m not even sure the author of tree-sitter-c would accept changes that
> try to parse macros: he has made it clear that the purpose of
> tree-sitter-c is to support post-processed C and leave macros and
> preprocessor to error-recovery.
What do you mean by "error-recovery"?
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?
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