[cfe-commits] [PATCH] Reimplement __pragma support

Francois Pichet pichet2000 at gmail.com
Mon Feb 21 18:04:54 PST 2011


On Sun, Feb 20, 2011 at 9:00 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
> This patch series reimplements __pragma using a TokenLexer and reusing
> the original tokens.  This makes diagnostics look better and also
> fixes a bug where we would accept things like __pragma(o n c e).
> It's still not perfect but IMHO an improvement on what we had before.
>
> I don't have access to the Microsoft headers so it would be good if
> someone (Francois?) could test for regressions against those headers.

Your patch works fine with the MSVC 2008 headers.




More information about the cfe-commits mailing list