[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 652e5b4: Allow arithmetic operators inside C++ te
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] emacs-25 652e5b4: Allow arithmetic operators inside C++ template constructs. |
Date: |
Mon, 15 Feb 2016 13:36:53 +0000 |
branch: emacs-25
commit 652e5b49d92d77fe057cf73bcb41f7170182bc8d
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 652e5b4: Allow arithmetic operators inside C++ template constructs.,
Alan Mackenzie <=