Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!ulysses!allegra!mit-eddie!husc6!cmcl2!nrl-cmf!ames!amdcad!amd!eager From: eager@amd.UUCP Newsgroups: comp.lang.c Subject: Re: cpp bug Message-ID: <4693@amd.AMD.COM> Date: Sat, 21-Nov-87 05:51:06 EST Article-I.D.: amd.4693 Posted: Sat Nov 21 05:51:06 1987 Date-Received: Mon, 23-Nov-87 02:52:00 EST References: <66@spar.SPAR.SLB.COM> Reply-To: eager@amd.UUCP (mike eager) Organization: Eager Consulting Lines: 22 Summary: Common cpp restrictionn In article <66@spar.SPAR.SLB.COM> hunt@spar.UUCP (Neil Hunt) writes: >The following fragment is the boiled down version of some lines >from a C program which was automatically translated from pascal, >and which breaks the cpp on my machine (a Sun 3, 3.2). >#define l(a) 1 > >f() >{ > l( > a); l( > a) >} It seems that I remember a restriction in some preprocessors that requires the entire invocation of a macro to be contained within a single line. I looked at Harbison & Steele, but they seem to be silent on the issue. - Mike Eager