[cfe-dev] Fix for preprocessor CommentHandler bug
andyg1001 at hotmail.co.uk
Tue Jun 12 09:04:55 PDT 2012
Following hot on the heels of my previous preprocessor patch, here is one
that solves issues related to the fact that the CommentHandler interface is
not invoked if comments follow #else and #endif preprocessor directives,
since it can be that the preprocessor is still in skip (i.e. raw) mode while
processing the directive line.
This fix solves this problem by bringing the preprocessor out of raw mode
while it processes to the end of the directive line.
The patch causes no test-suite regressions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1794 bytes
Desc: not available
More information about the cfe-dev