OSDN Git Service

In gcc/objc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Dec 2010 23:20:21 +0000 (23:20 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Dec 2010 23:20:21 +0000 (23:20 +0000)
commit693f21972dbc39793645054e4f7fe4067ca51da3
treefc491a5a77c5a12de180db37176c92a391e2341c
parent40463847db454e793f46a7fe2a2d7683d7e34ced
In gcc/objc/:
2010-12-08  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (objc_finish_foreach_loop): Use error_at() instead of
error() when printing an error about the iterating variable or
collection not being an object.

In gcc/testsuite/:
2010-12-08  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/foreach-6.m: Updated location of error messages.
* objc.dg/foreach-7.m: Same change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167610 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/objc.dg/foreach-6.m
gcc/testsuite/objc.dg/foreach-7.m