]> git.eshelyaron.com Git - emacs.git/commit
C++ Mode: Correctly handle <:, <::, <::>, etc, according to the C++ standard
authorAlan Mackenzie <acm@muc.de>
Fri, 11 Oct 2019 19:10:11 +0000 (19:10 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 11 Oct 2019 19:10:11 +0000 (19:10 +0000)
commit255c892b486eeb507b4533141fec9218b7a67b2f
treed5867104cbb0fe2b0e8586255aa1664a17e6e09f
parenta93dceda3fdcca18b51cb96461e1b8a4fc61bfd7
C++ Mode: Correctly handle <:, <::, <::>, etc, according to the C++ standard

* lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Perform
checking now on an insertion, should point be inside a critical token.
(c-forward-<>-arglist-recur, c-guess-continued-construct): Check for <::, etc.

* lisp/progmodes/cc-langs.el (c-<-pseudo-digraph-cont-regexp)
(c-<-pseudo-digraph-cont-len): New lang variables/constants.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el