Commit f4859757 authored by Alan Mackenzie's avatar Alan Mackenzie

Don't match C++ template delims starting within a token. FIxes bug #28418.

* lisp/progmodes/cc-engine.el (c-restore-<>-properties): After failing an
attempted match from the start of a token (in particular, "<<"), move to the
next token rather than the nex character before searching for the next "<".
parent b3fd6831
......@@ -6418,7 +6418,7 @@ comment at the start of cc-engine.el for more info."
(not (eq (c-get-char-property (point) 'c-type)
(or (c-forward-<>-arglist nil)
;; Functions to handle C++ raw strings.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment