Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cuae2!codas!ki4pv!tanner From: tanner@ki4pv.UUCP Newsgroups: comp.lang.c Subject: Should the Pre-Processor Understand Quoted Items? Message-ID: <6930@ki4pv.UUCP> Date: Thu, 15-Jan-87 10:00:56 EST Article-I.D.: ki4pv.6930 Posted: Thu Jan 15 10:00:56 1987 Date-Received: Fri, 16-Jan-87 07:05:53 EST Organization: CompuData South, DeLand Lines: 27 /* the following little programme raises a few issues about * the pre-processor, doesn't it? * 14-Jan-87 [ki4pv!tanner] */ /* the START_CMT definition below confuses the pre-processor * horribly. the solution, until the pre-processor gets fixed, * is to use "\052" instead of the '*' character there. */ #define START_CMT " /* " #define ENDOF_CMT " */ " char srtc[] = START_CMT, endc[] = ENDOF_CMT; main() { printf("comments start with %s and end with %s\n", srtc, endc); exit(0); } -- Tanner Andrews