emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 b671e21: Revert unneeded change which harms synta


From: Alan Mackenzie
Subject: [Emacs-diffs] emacs-25 b671e21: Revert unneeded change which harms syntactic parsing. This fixes bug #23308.
Date: Fri, 29 Apr 2016 14:39:12 +0000

branch: emacs-25
commit b671e218db4bed019edd80abf72f77f9b5a07f0d
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>

    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'.
---
 lisp/progmodes/cc-engine.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index b2fe9b2..2010515 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."
                (< 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]