This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77263] comment /* */ is ignored in some cases
- From: "bremende55 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Aug 2016 12:20:16 +0000
- Subject: [Bug c++/77263] comment /* */ is ignored in some cases
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-77263-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77263
--- Comment #4 from Jo <bremende55 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #3)
> (In reply to Jo from comment #2)
> > /* and */ as part of a C-string literal should not interfere with /* */ in
> > the code.
>
> They are no part of a string-literal, they are part of a comment, and the
> comment is terminated by the first */ token.
ok, I got it. Thank you.