1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

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'.
This commit is contained in:
Alan Mackenzie 2016-04-29 14:36:33 +00:00
parent 48b24c9b03
commit b671e218db

View File

@ -3411,7 +3411,7 @@ comment at the start of cc-engine.el for more info."
(< c-state-old-cpp-beg here)) (< c-state-old-cpp-beg here))
(c-with-all-but-one-cpps-commented-out (c-with-all-but-one-cpps-commented-out
c-state-old-cpp-beg c-state-old-cpp-beg
(min c-state-old-cpp-end here) c-state-old-cpp-end
(c-invalidate-state-cache-1 here)) (c-invalidate-state-cache-1 here))
(c-with-cpps-commented-out (c-with-cpps-commented-out
(c-invalidate-state-cache-1 here)))) (c-invalidate-state-cache-1 here))))