On Sat, Nov 17, 2012 at 9:16 PM, Andy Gibbs <[email protected]> wrote:
> --- cfe/trunk/lib/Lex/Pragma.cpp (original)
> +++ cfe/trunk/lib/Lex/Pragma.cpp Sat Nov 17 13:16:52 2012
> @@ -503,6 +503,7 @@
>    Lex(Tok);
>    std::string ArgumentString;
>    if (Tok.is(tok::comma) && !LexStringLiteral(Tok, ArgumentString,
> +                                              "pragma comment",
>                                                /*MacroExpansion=*/true))

Hi Andy,

Does it make sense to sink the word 'pragma' into the message itself?
The text "in %1" in the diagnostic is not an optimal solution IMHO.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to