From 66bcec8838ab05b5690d7f530851ecf594c5d877 Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Sun, 15 Nov 2020 10:34:54 +0000 Subject: [PATCH] * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re): Fix wrong '-' in regexp --- lisp/progmodes/cc-langs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 0a7f4565c0e..56c3a4889b2 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -3643,7 +3643,7 @@ When \"(\" is present, that defun will attempt to parse a parenthesized expression inside the template. When \")\" is present it will treat an unbalanced closing paren as a sign of the invalidity of the putative template construct." - t "[<;{},|+&->)]" + t "[<;{},|+&>)-]" c++ "[<;{},>()]") (c-lang-defvar c-<>-notable-chars-re (c-lang-const c-<>-notable-chars-re)) -- 2.39.5