I am working on some stuff with 4711 #ifdefs and, on most global searches, end up looking at inactive code.
To obtain 'marked' code lines I tried to replace
#ifdef BLAH .......
with //#define BLAH #define BLAH // BLAH ....
this works for BLAH = nothing, but I can't find a way to make it work for '//'
any ideas?
Erik
I don't see how Regular Expressions could help?
Regular Expressions are about text searching - and that's not going to work.
What is needed is something that's aware of what is and is not "active"...
How about using the preprocessor output...?
www.cs.washington.edu/.../