Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!sunybcs!loverso From: loverso@sunybcs.UUCP (John Robert LoVerso) Newsgroups: net.sources.d Subject: Re: ifdef filter Message-ID: <445@sunybcs.UUCP> Date: Sun, 20-Jul-86 04:47:20 EDT Article-I.D.: sunybcs.445 Posted: Sun Jul 20 04:47:20 1986 Date-Received: Mon, 21-Jul-86 04:48:34 EDT References: <323@enmasse.UUCP> <924@cyb-eng.UUCP> <2496@umcp-cs.UUCP> Reply-To: loverso@gort.UUCP (John Robert LoVerso) Organization: SUNY/Buffalo Computer Science Lines: 12 Summary: its been posted already! In article <323@enmasse.UUCP> someone writes: >It often happens that software packages are set up to run on so many >configurations that it is hard to read the code because of all the >ifdefs. ... That is, filter out everything that is not going to be >expanded by cpp while retaining the ifdefs that are going to be expanded, >just for comment value. A selective C preprocessor (scpp) was posted to mod.sources in Sept 1985. It should be in the mod.sources archives. It was written by Brad Needham of Tektronix, and can be very convenient at times. ..jOhn