ifdef filter
jimg at paisley.UUCP
jimg at paisley.UUCP
Mon Jul 21 20:52:16 AEST 1986
In article <924 at cyb-eng.UUCP> bc at cyb-eng.UUCP writes:
>> 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.
Can't you just run it through the C pre-processor?
More information about the Comp.sources.unix
mailing list