diff options
author | Alan Mackenzie <acm@muc.de> | 2016-02-15 12:45:42 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2016-02-15 15:05:02 +0000 |
commit | 02b037b85ce32fdcf454f5b12d72f09bcb217891 (patch) | |
tree | d9fda6629d10843b78679d50f06a2c654dc5e07c /lisp/emacs-lisp/tq.el | |
parent | 44b16f60fd80afe574964390d896635971cb5504 (diff) | |
download | emacs-02b037b85ce32fdcf454f5b12d72f09bcb217891.tar.gz emacs-02b037b85ce32fdcf454f5b12d72f09bcb217891.tar.bz2 emacs-02b037b85ce32fdcf454f5b12d72f09bcb217891.zip |
Allow arithmetic operators inside C++ template constructs.
Fixes debbugs #22486. This corrects the previous patch with this message
which was empty.
* 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/emacs-lisp/tq.el')
0 files changed, 0 insertions, 0 deletions