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:
parent
48b24c9b03
commit
b671e218db
@ -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))))
|
||||||
|
Loading…
Reference in New Issue
Block a user