Path: utzoo!attcan!uunet!husc6!bbn!bbn.com!djoslin
From: djoslin@bbn.com (David Joslin)
Newsgroups: comp.sources.wanted
Subject: wanted:  #ifdef stripper
Message-ID: <28595@bbn.COM>
Date: 17 Aug 88 21:49:21 GMT
Sender: news@bbn.COM
Reply-To: djoslin@BBN.COM (David Joslin)
Distribution: na
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Lines: 10

I would like something similar to cpp that only handles
selected #ifdef's and #if's, leaving all other #ifdef's,
#if's, #define's and comments intact.

I have some code that has grotesquely layered #ifdefs,
about half of which are around archaic code.  The code is
roughly the size of a Unix kernel, so I don't want to
strip out the extraneous #ifdef's by hand.

Somebody must have had this problem before...