Hi, I recently needed to inspect the conditional stack of the preprocessor for a small tool I wrote that annotates source code. I think the ability to see why the preprocessor is including/excluding a line could be useful for others. Attached, please find a trivial patch that adds a public accessor function for ConditionalStack. I would much appreciate if this could be applied to the trunk.
Best Regards Magnus Reftel
getConditionalStack.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
