|
|
Warp wrote:
> How about making it a portable command-line utility and releasing the
> source?
How about making it as a macro?
Something like:
#macro undefall(file_in, tmp_file)
/* some magic code reading file_in, searching for #declares,
outputting the corresponding #undefs in tmp_file while
handling multiple declaration cases, arrays..., then
#including tmp_file (thus everything gets undeclared)*/
#end
The only missing step would be the tmp_file deletion.
--
Post a reply to this message
|
|