Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!ucsd!hub!dougp From: dougp@voodoo.ucsb.edu Newsgroups: comp.lang.c Subject: Re: Re^4: Why nested comments not allowed? Message-ID: <4015@hub.UUCP> Date: 21 Feb 90 04:43:53 GMT Sender: news@hub.UUCP Organization: UC, Santa Barbara. Physics Computer Services Lines: 15 -Message-Text-Follows- In article <1525@wacsvax.OZ>, chris@wacsvax.OZ (chris mcdonald) writes... >dalenber@cbnewsc.ATT.COM (Russel Dalenberg) writes: >>In article <1523@wacsvax.OZ>, chris@wacsvax.OZ (chris mcdonald) writes: >> printf("A comment is ended with */"); >Ho, hum, now your compiler, lexical analyser can't detect strings either? Comment this: printf("\"*/goto hell;/*\"");/* "\" is the escape charactor*/ Build me a parser that handles this situation properly and I might begin to believe that nesting comments are possible. I personaly prefer comment to end of line (like Microsofts //) for commenting out large blocks of code, it makes it easy to tell (on one of these damn 25 line displaies) just what has been commented out.