diff options
| author | Alan Mackenzie | 2018-03-20 18:40:52 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2018-03-20 18:40:52 +0000 |
| commit | 16559146f9db1b36d5e8b6c92edb5bb36fafdb85 (patch) | |
| tree | 7ecc9545dbd5ec876aa4ad2ae27537c69c5e8af5 | |
| parent | 2a1fe08307402d6217d073f8ab7737750d253dd4 (diff) | |
| download | emacs-16559146f9db1b36d5e8b6c92edb5bb36fafdb85.tar.gz emacs-16559146f9db1b36d5e8b6c92edb5bb36fafdb85.zip | |
* cc-engine.el (c-looking-at-or-maybe-in-bracelist): Remove pessimization
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index c5b07b37027..2290c9cbddf 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." | |||
| 10538 | (looking-at c-return-key)) | 10538 | (looking-at c-return-key)) |
| 10539 | (setq braceassignp t) | 10539 | (setq braceassignp t) |
| 10540 | nil) | 10540 | nil) |
| 10541 | ((and c-has-compound-literals | ||
| 10542 | (eq (char-after) ?,)) | ||
| 10543 | (save-excursion | ||
| 10544 | (when (and (c-go-up-list-backward nil lim) | ||
| 10545 | (eq (char-after) ?\()) | ||
| 10546 | (setq braceassignp t) | ||
| 10547 | nil))) | ||
| 10548 | ((eq (char-after) ?=) | 10541 | ((eq (char-after) ?=) |
| 10549 | ;; We've seen a =, but must check earlier tokens so | 10542 | ;; We've seen a =, but must check earlier tokens so |
| 10550 | ;; that it isn't something that should be ignored. | 10543 | ;; that it isn't something that should be ignored. |