[cfe-dev] Fix for preprocessor paste bug
andyg1001 at hotmail.co.uk
Tue Jun 12 07:01:17 PDT 2012
Attached is a patch fixing a preprocessor paste bug.
The bug manifests itself by swallowing up the remainder of the file
following an invalid paste operation. In terms of technical details,
TokenLexer::PasteTokens was returning tok::eof in this case, effectively
stopping any further processing. The bug includes a test-case demonstrating
the fix. No other regressions are noted.
P.S. For Richard Smith, who is keeping my wits sharp on the "-verify"
enhancement, this solves one of the unnecessary test-case changes! ;o)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1025 bytes
Desc: not available
More information about the cfe-dev