Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!think!mit-eddie!genrad!decvax!decwrl!amdcad!amdahl!dwl10 From: dwl10@amdahl.UUCP Newsgroups: net.sources Subject: Re: Re: ifdef filter Message-ID: <3479@amdahl.UUCP> Date: Wed, 23-Jul-86 12:29:16 EDT Article-I.D.: amdahl.3479 Posted: Wed Jul 23 12:29:16 1986 Date-Received: Thu, 24-Jul-86 04:45:21 EDT References: <323@enmasse.UUCP> <924@cyb-eng.UUCP> <640@wg3b20.UUCP> Reply-To: dwl10@amdahl.UUCP (Dave Lowrey) Organization: Amdahl Corporation, Columbia MD Lines: 14 I know of a GREAT way to filter out "un-executed" ifdefs. It's called the C pre-processor! Just feed it your code, with a few -Doptions to define which ifdefs you want defined, and presto-changeo, it will spit out only the wanted source. -- ------------------------------------------------------------------- Dave Lowrey "So it goes, so it goes, so it goes, so it goes. But where it's going, nobody knows" [Nick Lowe] ...!{ihnp4,cbosgd,hplabs}!amdahl!dwl10 [ The opinions expressed be those of the author and not necessarily those of his most eminent employer. ]