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 "<".
This commit is contained in:
parent
b3fd6831dc
commit
f4859757b6
1 changed files with 1 additions and 1 deletions
|
@ -6418,7 +6418,7 @@ comment at the start of cc-engine.el for more info."
|
|||
(not (eq (c-get-char-property (point) 'c-type)
|
||||
'c-decl-arg-start)))))))
|
||||
(or (c-forward-<>-arglist nil)
|
||||
(forward-char)))))
|
||||
(c-forward-token-2)))))
|
||||
|
||||
|
||||
;; Functions to handle C++ raw strings.
|
||||
|
|
Loading…
Add table
Reference in a new issue