[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1655914: * cc-engine.el (c-looking-at-or-maybe-in-b
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] master 1655914: * cc-engine.el (c-looking-at-or-maybe-in-bracelist): Remove pessimization |
Date: |
Tue, 20 Mar 2018 15:00:35 -0400 (EDT) |
branch: master
commit 16559146f9db1b36d5e8b6c92edb5bb36fafdb85
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>
* cc-engine.el (c-looking-at-or-maybe-in-bracelist): Remove pessimization
---
lisp/progmodes/cc-engine.el | 7 -------
1 file changed, 7 deletions(-)
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index c5b07b3..2290c9c 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -10538,13 +10538,6 @@ comment at the start of cc-engine.el for more info."
(looking-at c-return-key))
(setq braceassignp t)
nil)
- ((and c-has-compound-literals
- (eq (char-after) ?,))
- (save-excursion
- (when (and (c-go-up-list-backward nil lim)
- (eq (char-after) ?\())
- (setq braceassignp t)
- nil)))
((eq (char-after) ?=)
;; We've seen a =, but must check earlier tokens so
;; that it isn't something that should be ignored.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 1655914: * cc-engine.el (c-looking-at-or-maybe-in-bracelist): Remove pessimization,
Alan Mackenzie <=