Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!ut-sally!cyb-eng!bc From: bc@cyb-eng.UUCP (Bill Crews) Newsgroups: net.sources Subject: Re: ifdef filter Message-ID: <924@cyb-eng.UUCP> Date: Fri, 18-Jul-86 14:56:59 EDT Article-I.D.: cyb-eng.924 Posted: Fri Jul 18 14:56:59 1986 Date-Received: Sat, 19-Jul-86 03:46:51 EDT References: <323@enmasse.UUCP> Organization: Cyb Systems, Austin, TX Lines: 15 > 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. > I would like a filter for C programs that does something like the > following: > [...deleted specification...] > 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. > Ideally the output, when compiled, would produce exactly the same results as the > original. Does anyone have anything like this? Me, too. I keep planning to write it and never seem to find the time. -- bc Bill Crews @ NetCor Data International ..!{seismo,gatech,ihnp4}!ut-sally!cyb-eng!bc (512) 835-2266