GNU bug report logs - #71680
c++-ts-mode with latest tree-sitter-cpp grammar barfs on "virtual"

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Thu, 20 Jun 2024 16:34:01 UTC

Severity: normal

Merged with 71518

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Colascione <dancol <at> dancol.org>
To: bug-gnu-emacs <at> gnu.org
Subject: c++-ts-mode with latest tree-sitter-cpp grammar barfs on "virtual"
Date: Thu, 20 Jun 2024 12:33:37 -0400
When using latest master Emacs with latest release tree-sitter and
latest version of tree-sitter-cpp, we get an error redisplay in
redisplay complaining that the "virtual" keyword in c-ts-mode--keywords
is an invalid query.  Removing "virtual" from the list in c-ts-mode.el
resolves the problem, but of course, results in the "virtual" keyword
not being fontified as a keyword.




This bug report was last modified 1 year and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.