From: Alan Mackenzie Date: Sun, 15 Nov 2020 10:34:54 +0000 (+0000) Subject: * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re): Fix wrong '-' in regexp X-Git-Tag: emacs-27.1.90~54 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66bcec8838ab05b5690d7f530851ecf594c5d877;p=emacs.git * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re): Fix wrong '-' in regexp --- 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))