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: Basil Contovounesios
Subject: bug#64019: 29.0.91; Fix some tree-sitter :match regexps
Date: Mon, 12 Jun 2023 16:10:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Mattias Engdegård [2023-06-12 16:48 +0200] wrote:

>> --- a/lisp/progmodes/c-ts-mode.el
>> +++ b/lisp/progmodes/c-ts-mode.el
>> @@ -1319,7 +1319,7 @@ c-ts-mode--c-or-c++-regexp
>>                "\\|" id "::"
>>                "\\|" id ws-maybe "=\\)"
>>                "\\|" "\\(?:inline" ws "\\)?namespace"
>> -              "\\(:?" ws "\\(?:" id "::\\)*" id "\\)?" ws-maybe "{"
>> +              "\\(?:" ws "\\(?:" id "::\\)*" id "\\)?" ws-maybe "{"
>
> If this one is wrong, then so is the regexp in cc-mode.el from this one was 
> copied, right?

Right, but I was going to suggest fixing that on master rather than
emacs-29, since it's been with us longer.

-- 
Basil





reply via email to

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