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: Mon, 12 Jun 2023 16:48:08 +0200

> --- 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?







reply via email to

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