This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/77263] comment /* */ is ignored in some cases


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]