diff options
| author | Alan Mackenzie | 2016-04-29 14:36:33 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2016-04-29 14:36:33 +0000 |
| commit | b671e218db4bed019edd80abf72f77f9b5a07f0d (patch) | |
| tree | 12f598b329404ace4930852514edf61cb06744c7 | |
| parent | 48b24c9b031ba593426d4e9980b360c273f57166 (diff) | |
| download | emacs-b671e218db4bed019edd80abf72f77f9b5a07f0d.tar.gz emacs-b671e218db4bed019edd80abf72f77f9b5a07f0d.zip | |
Revert unneeded change which harms syntactic parsing. This fixes bug #23308.
* lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
regardless of the value of `here'.
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index b2fe9b27e38..2010515ce5c 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -3411,7 +3411,7 @@ comment at the start of cc-engine.el for more info." | |||
| 3411 | (< c-state-old-cpp-beg here)) | 3411 | (< c-state-old-cpp-beg here)) |
| 3412 | (c-with-all-but-one-cpps-commented-out | 3412 | (c-with-all-but-one-cpps-commented-out |
| 3413 | c-state-old-cpp-beg | 3413 | c-state-old-cpp-beg |
| 3414 | (min c-state-old-cpp-end here) | 3414 | c-state-old-cpp-end |
| 3415 | (c-invalidate-state-cache-1 here)) | 3415 | (c-invalidate-state-cache-1 here)) |
| 3416 | (c-with-cpps-commented-out | 3416 | (c-with-cpps-commented-out |
| 3417 | (c-invalidate-state-cache-1 here)))) | 3417 | (c-invalidate-state-cache-1 here)))) |