At Tue, 18 Jun 2002 13:07:55 +0800, henry wrote:
> Every time I look source code ,there is lots of macros (#if define
> #endif, #include *.c etc.).
>  
> Is there some way to strip those macros after well-defining those
> #ifdefine ?

use cpp or gcc -E (as a simple search for 'preprocessor' through the
gcc manpage would have shown).

in emacs' c-mode, you can also use c-macro-expand (C-c C-e) on a
region

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to