This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52648] remove string literal by preprocessor
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Mar 2012 04:09:28 +0000
- Subject: [Bug c/52648] remove string literal by preprocessor
- Auto-submitted: auto-generated
- References: <bug-52648-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52648
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-21 04:09:28 UTC ---
No that is correct. the comment starts at /* and ends at the first */. The
preprocessor does not tokenize stuff inside comments at all so "" is not taken
into account. This is different from a #if block where it is tokenized.