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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64019: 29.0.91; Fix some tree-sitter :match regexps


From: Mattias Engdegård
Subject: bug#64019: 29.0.91; Fix some tree-sitter :match regexps
Date: Tue, 13 Jun 2023 09:47:08 +0200

12 juni 2023 kl. 23.39 skrev Dmitry Gutov <dmitry@gutov.dev>:

> On 12/06/2023 19:07, Mattias Engdegård wrote:
>> I particularly like the bug in several of the modes that will colour ABCd as 
>> a constant, but not ABCe or ABC2, despite the obvious intention that only 
>> the last should have that face.
> 
> Could you point to some relevant part of the patch?

The ones replacing \d with 0-9:

-      (:match "^[A-Z_][A-Z_\\d]*$" @font-lock-constant-face))
+      (:match "\\`[A-Z_][0-9A-Z_]*\\'" @font-lock-constant-face))






reply via email to

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