projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a1fe08
)
* cc-engine.el (c-looking-at-or-maybe-in-bracelist): Remove pessimization
author
Alan Mackenzie
<acm@muc.de>
Tue, 20 Mar 2018 18:40:52 +0000
(18:40 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Tue, 20 Mar 2018 18:40:52 +0000
(18:40 +0000)
lisp/progmodes/cc-engine.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-engine.el
b/lisp/progmodes/cc-engine.el
index c5b07b3702738b0dc0740cf268a9dda647bfe09b..2290c9cbddf97432a770601efd8a1424bd7c43f8 100644
(file)
--- 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.