[cfe-commits] [PATCH] Bug 6484 - Improve diagnostics for dangling '}'

Nico Weber thakis at chromium.org
Mon Jan 16 17:08:23 PST 2012


r148270. Thanks!

On Mon, Jan 16, 2012 at 5:22 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Mon, Jan 16, 2012 at 8:23 AM, Jason Switzer <jswitzer at gmail.com> wrote:
>> Taking your advice, I made a new error (err_extraneous_closing_brace) in
>> include/clang/Basic/DiagnosticParseKinds.td, switched the first case in
>> lib/Parse/Parser.cpp to using the new error, and updated the test cases
>> (again, all tests pass).
>
> Looks good to me, but I'm not a committer.
>
> 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 <gribozavr at gmail.com>*/
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list