[cfe-dev] Fix for preprocessor paste bug
andyg1001 at hotmail.co.uk
Wed Jun 13 01:49:59 PDT 2012
> In -fms-extension -Wno-invalid-token-paste mode, the patch
> regresses this test, because we're no longer invoking
> LookUpIdentifierInfo on the pasted 'ab' token:
> #define foo a ## b ## = 0
> int foo;
> Switching out the 'return true' for a 'break' should resolve
> that, I think. Your fix should also apply in the
> AsmPreprocessor case.
Your wish is my command! Attached is a revised patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1528 bytes
Desc: not available
More information about the cfe-dev