Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!brl-adm!brl-smoke!smoke!rbj@icst-cmr From: rbj@icst-cmr (Root Boy Jim) Newsgroups: net.sources Subject: Re: ifdef filter Message-ID: <2389@brl-smoke.ARPA> Date: Fri, 18-Jul-86 15:37:44 EDT Article-I.D.: brl-smok.2389 Posted: Fri Jul 18 15:37:44 1986 Date-Received: Sun, 20-Jul-86 06:06:36 EDT Sender: news@brl-smoke.ARPA Lines: 13 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? Berkeley 4.x has a program called unifdef. The RAND corparation has a program like this on their new RAND editor tape. I might be able to send you a copy of it if I can find a good path to you. (Root Boy) Jim Cottrell Vote for ME -- I'm well-tapered, half-cocked, ill-conceived and TAX-DEFERRED!