Doesn't gcc -E file.c (or cl /E file.c) do exactly this?
The start of some sanity?
In reply to Re: C macro pre processing by BrowserUk in thread C macro pre processing by prassi