This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] initial location support for C parser


On Tue, 2008-09-02 at 18:02 -0400, Aldy Hernandez wrote:
> 	* diagnostic.c (error_at): New.
> 	* toplev.h (error_at): New prototype.
> 	* c-typeck.c (build_array_ref): Call error_at instead of error.
> 	Pass location to pedwarn.
> cp/
> 	* typeck.c (build_array_ref): Use new location argument.
> 	* class.c (build_vtbl_ref_1): Pass location to build_array_ref.
> 	* call.c (build_new_op): Same.
> 	* decl2.c (grok_array_decl): Same.
> 	* cp-tree.h (build_array_ref): Add location argument to prototype.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]