[Top][All Lists]

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

[Tinycc-devel] comment parsing bug

From: Damian M Gryski
Subject: [Tinycc-devel] comment parsing bug
Date: Sat, 15 Mar 2003 20:33:42 -0500
User-agent: Mutt/1.5.3i

   tcc complains (incorrectly) on the following code:

--8<---------:- snip -:---------8<---------:- snip -:---------8<--
   int main() {   
      /* this is a valid *\/ comment */
--8<---------:- snip -:---------8<---------:- snip -:---------8<--

   The backslash-escape code is turning '*\/' into '*/', which
   then closes the comment, leaving 'comment */' as tokens
   in the input stream.


Damian Gryski          | "There is a crack, a crack in everything.
 address@hidden  |  That's how the light gets in."
  gnu / geek / juggler / coder / compsci / crypto / security

Attachment: pgp1DeCkZ85W_.pgp
Description: PGP signature

reply via email to

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