Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!samsung!aplcen!haven!udel!rochester!rit!cci632!ccicpg!conexch!rick From: rick@conexch.UUCP (Rick Ellis) Newsgroups: comp.lang.c Subject: Re: This one bit me today Summary: nested comments Message-ID: <41631@conexch.UUCP> Date: 24 Nov 89 22:38:56 GMT References: <2739@hub.UUCP> <1989Oct28.005308.11463@virtech.uucp> Reply-To: rick@ofa123FIDONET.ORG (Rick Ellis) Organization: The Consultants' Exchange, Orange County, CA. (714) 842-6348 Lines: 8 In article <1989Oct28.005308.11463@virtech.uucp> cpcahil@virtech.uucp writes: >Your example should not generated an error in any sane implementation. >Contents of string constants have never been parsed for comment delimeters. In many C compilers there is a switch to allow nested comments. This allows you to comment out large blocks without worrying about imbedded comments. Of course it's much easier to just use #ifdef COMMENT.