bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9383: bug#12641: Backslash in the end of comment lines in C/C++


From: Alex
Subject: bug#9383: bug#12641: Backslash in the end of comment lines in C/C++
Date: Fri, 14 Oct 2016 16:37:30 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

close 9383 25.1
quit

Chen Fengyuan <jeova.sanctus.unus@gmail.com> writes:

> ...
> 
> int a=1;
> //some comment \
> a++;
> printf("%d\n",a);
> //some comment ??/
> a++;
> printf("%d\n",a);
>
> a++ is a part of comment, but emacs don't highlight a++ as a comment.
> http://stackoverflow.com/questions/2384276/backslash-in-the-end-of-comment-lines-in-c-c
>
> ...

In Emacs 25.1 the first a++ is now commented correctly.

The 2nd a++ is not commented, but this is a known limitation according
 to
 
https://www.gnu.org/software/emacs/manual/html_node/ccmode/Limitations-and-Known-Bugs.html

If trigraph support is desired, then I believe a new bug report should be
opened.






reply via email to

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