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

Jo <bremende55 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #2 from Jo <bremende55 at gmail dot com> ---
(In reply to Andreas Schwab from comment #1)
> Multiline comments do not nest.

There is only ONE multiline comment, so there is nothing to nest. The other /*
resp. */ character sequences are within literals, enclosed with double qoutes.
 /* and */ as part of a C-string literal should not interfere with /* */ in the
code.

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