Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!lll-winken!uunet!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.lang.c Subject: Re: Assorted C Questions Summary: more of less Message-ID: <283@crdos1.crd.ge.COM> Date: 6 Sep 89 19:01:59 GMT References: <4294@udccvax1.acs.udel.EDU> <1989Sep6.160004.19253@utzoo.uucp> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: GE Corp R&D Center Lines: 20 In article <1989Sep6.160004.19253@utzoo.uucp>, henry@utzoo.uucp (Henry Spencer) writes: | >#define min(x,y) (((x) < (y)) ? (x) : (y)) | >foobar(min,max) | >Sometype min,max; | >{} | > | > Will this foul up the preprocessor... | | No; parameterized macro names are recognized as such *only* when followed | immediately by "(". My standard isn't handy, but all of the preprocessors I use allow whitespace between the name and the ( because the local indent does it that way. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "The world is filled with fools. They blindly follow their so-called 'reason' in the face of the church and common sense. Any fool can see that the world is flat!" - anon