Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!jpd00964 From: jpd00964@uxa.cso.uiuc.edu Newsgroups: comp.sys.next Subject: Re: cc preprocessor question Message-ID: <118400010@uxa.cso.uiuc.edu> Date: 7 Mar 90 10:33:51 GMT References: <2553@<25f2ebec> Lines: 22 Nf-ID: #R:<25f2ebec:2553:uxa.cso.uiuc.edu:118400010:000:757 Nf-From: uxa.cso.uiuc.edu!jpd00964 Mar 6 14:06:00 1990 /* Written 4:45 pm Mar 5, 1990 by mdeale@vega.acs.calpoly.edu in uxa.cso.uiuc.edu:comp.sys.next */ /* ---------- "cc preprocessor question" ---------- */ >I'd bet this is a known bug, but I'm trying to compile patch v.2 >and cpp is mis-behaving. Specifically, Actually, its not a bug, read on. [source code deleted but two defines next to each other were inserting an extra space] >Like, where is the space coming from? and the on-line doc's suggest >no option of control. Note that there is no space after the #def's. >Help. The extra space is comming from ANSI C. You are not supposed to concatenate the tokens in ANSI, but by using the ## token, you can. See A12.3 in you handy K&R v.2 for more informatio Michael Rutman #include