]> code.delx.au - gnu-emacs/commitdiff
Revert unneeded change which harms syntactic parsing. This fixes bug #23308.
authorAlan Mackenzie <acm@muc.de>
Fri, 29 Apr 2016 14:36:33 +0000 (14:36 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 29 Apr 2016 14:36:33 +0000 (14:36 +0000)
* 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'.

lisp/progmodes/cc-engine.el

index b2fe9b27e38e997d163ab2434da3934a21e1549f..2010515ce5c0ed0091136c30a8fee54c409a4ff0 100644 (file)
@@ -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))))