]> git.eshelyaron.com Git - emacs.git/commit
Don't confuse "::" with ":" when trying to parse member initializers.
authorAlan Mackenzie <acm@muc.de>
Fri, 15 Jan 2016 21:15:20 +0000 (21:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2016 00:05:55 +0000 (17:05 -0700)
commit515ce25ffdfef33a603342fa7fbc793925f54230
treeebdb1e97076af30a0c16652867723f86c8dd26d8
parenta17bddeaa430715bf98f662a2c24ae5af50cc6b8
Don't confuse "::" with ":" when trying to parse member initializers.

* lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
more robustly for ":" token when searching backwards for it.

* lisp/progmodes/cc-langs (c-:$-multichar-token-regexp): New language
variable.

[This reapplies commit 9e5452f7166e3634f2d8e943815ed722e1672714,
which was inadvertently lost by merge commit
7823745acbe9b87eea2db4ef434e379fc903ec35.]
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el