help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code reading without ifdefs...


From: slists
Subject: Code reading without ifdefs...
Date: Fri, 11 Jul 2003 17:09:19 +0200
User-agent: KMail/1.4.3

Hi,

Is there effective way to get rid of #ifdefs in buffers with C code but in 
smart way,
that is, only to see things that will be there after preprocessing?

Using Hide-Ifdef mode, that is, building hide-ifdef-env alist doesn't solve the 
problem
because I don't know all things that will be defined after preprocessing or 
there is a way
of building such list using preprocessor?

Another way is using C-c C-e (c-macro-expand) and it does the job, but too much.
Besaide #ifdefs all other directives are expended and that's bad. Is there a 
way of telling cpp 
only to deal whit #ifdefs and leave other directives.

Regards...










reply via email to

[Prev in Thread] Current Thread [Next in Thread]