summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2016-02-15 12:45:42 +0000
committerAlan Mackenzie <acm@muc.de>2016-02-15 13:32:16 +0000
commit652e5b49d92d77fe057cf73bcb41f7170182bc8d (patch)
tree84785904ae4ff9507357c351169277a68b074306 /lisp
parentd9ea795035f28f700f1456b377013a24a1ea5e6f (diff)
downloademacs-652e5b49d92d77fe057cf73bcb41f7170182bc8d.tar.gz
emacs-652e5b49d92d77fe057cf73bcb41f7170182bc8d.tar.bz2
emacs-652e5b49d92d77fe057cf73bcb41f7170182bc8d.zip
Allow arithmetic operators inside C++ template constructs.
Fixes debbugs #22486. * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language variable. (c-<>-notable-chars-re): New language variable. * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User c-<>-notable-chars-re in place of the former fixed string in searching for places to stop and examine. Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a multichar operator in place of the former c->-op-without->-cont-regexp. Add code to skip forwards over a balanced parenthesized expression.
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions