Subject: bug#59468: 29.0.50; c-ts-mode cannot fontify after macros are encountered

From: Eli Zaretskii <[email-masked]>
Date: Wed, 23 Nov 2022 14:53:56 +0200

> From: Po Lu <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked]
> Date: Wed, 23 Nov 2022 15:36:21 +0800
> 
> Yuan Fu <[email-masked]> writes:
> 
> > For each of the ERROR nodes, we can look at the skipped tokens inside,
> > and look around with some regex searching.
>                             ^^^^^^^^^^^^^^^
> 
> I thought that is the sort of thing we aim to avoid by using
> tree-sitter.

Would you rather do nothing about these error nodes?

If they happen too frequently, then it would be a real problem for the
language(s) where that happens.  But if they happen relatively infrequently,
then falling back on regexps could be an okay solution, IMO.