Fix fontification of "operator~" in C++ Mode.
commitb733a910091c426de0d831f1ce0cda4ae736ab69
authorAlan Mackenzie <acm@muc.de>
Sun, 3 Sep 2017 09:40:31 +0000 (3 09:40 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 3 Sep 2017 09:40:31 +0000 (3 09:40 +0000)
treec021e94aac769722266283b16186f41635701f7a
parentd577d1609c6c9d11b6af30a33e02bb21ffa821fd
Fix fontification of "operator~" in C++ Mode.

* lisp/progmodes/cc-langs.el (c-ambiguous-overloadable-or-identifier-prefices)
(c-ambiguous-overloadable-or-identifier-prefix-re): New c-lang-defconsts/vars.

* lisp/progmodes/cc-engine.el (c-forward-name): Do not try to parse "~" (and
two other symbols) as a cast without good evidence.  Prefer an overloaded
operator in ambiguous cases.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el