Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!cit-vax!trent From: trent@cit-vax.Caltech.Edu (Ray Trent) Newsgroups: net.unix-wizards,net.lang.c Subject: Re: #define kinda stuff Message-ID: <386@cit-vax.Caltech.Edu> Date: Thu, 10-Apr-86 18:38:29 EST Article-I.D.: cit-vax.386 Posted: Thu Apr 10 18:38:29 1986 Date-Received: Sat, 12-Apr-86 22:26:16 EST References: <1458@cwruecmp.UUCP> Reply-To: trent@cit-vax.UUCP (Ray Trent) Distribution: net Organization: California Institute of Technology Lines: 28 Xref: watmath net.unix-wizards:17559 net.lang.c:8533 Summary: Don't do it, you'll kiiiiiill yourself [this space for rent] In article <1458@cwruecmp.UUCP> ryan@cwruecmp.UUCP (Ryan McGuire) writes: > Here's what I wanna do: > >#define (-: /* >#define :-) */ I don't know about your C compiler, but MY prepreocessor barfs at having a macro named "(-:", so I would imagine that even if you get /* to (not) expand correctly, this construct will not be portable. I quote from K&R: A compiler-control line of the form #define identifier token-string ...causes the preprocessor to...(Appendix A, ss 12.1) and: Appendix A.2.2: Identifiers An identifier is a sequence of letters and digits; the first character must be a letter.... -- ../ray\.. (trent@csvax.caltech.edu) "The above is someone else's opinion only at great coincidence"