February 13, 2004

Find all pre-processor directives affecting a line of code

From the same guy who wrote Cog, see this useful python snippet:

http://www.nedbatchelder.com/blog/20040203T140829.html

This code will find all of the pre-processor lines that affect a given line of code. I wish I'd found this about 3 years ago.

Thanks Ned!

Posted by Simon at February 13, 2004 11:46 AM
Feedback