Commit b671e218 authored by Alan Mackenzie's avatar Alan Mackenzie

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'.
parent 48b24c9b
......@@ -3411,7 +3411,7 @@ comment at the start of cc-engine.el for more info."
(< c-state-old-cpp-beg here))
(c-with-all-but-one-cpps-commented-out
c-state-old-cpp-beg
(min c-state-old-cpp-end here)
c-state-old-cpp-end
(c-invalidate-state-cache-1 here))
(c-with-cpps-commented-out
(c-invalidate-state-cache-1 here))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment