[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23308: 25.0.92; angle brackects in #include breaks syntax-ppss (c-mo
From: |
Mohammed Sadik |
Subject: |
bug#23308: 25.0.92; angle brackects in #include breaks syntax-ppss (c-mode) |
Date: |
Wed, 20 Apr 2016 18:17:16 +0530 |
> Yes, indeed. Thanks for taking the trouble to report this bug, and
> thanks even more for distilling the problem down to a small, easy to work
> with test case.
>
Thanks for your kind words. This is just my 3rd bug report. :-)
> Would you please try out the following patch, and let me know whether it
> fixes the bug completely, and if not, what problems still remain.
> (cc-engine.el is in directory .../emacs/lisp/progmodes.) Thanks!
>
Sure. I shall try.
> diff -r cf78a1fa7d43 cc-engine.el
> --- a/cc-engine.el Sat Apr 02 17:35:03 2016 +0000
> +++ b/cc-engine.el Wed Apr 20 08:14:02 2016 +0000
> @@ -3443,7 +3443,7 @@
> (< 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))))
>
Yes. This does fix the problem. Thanks for the patch. Hope it wont
break anything else.
Could you please look into
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23313 bug, if
you have time?
Thank you.