This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r144113 - in /branches/diagnostics-branch/gcc: ...
- From: aldyh at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 11 Feb 2009 23:49:30 -0000
- Subject: r144113 - in /branches/diagnostics-branch/gcc: ...
Author: aldyh
Date: Wed Feb 11 23:49:30 2009
New Revision: 144113
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144113
Log:
* c-tree.h: (struct c_declarator): Add comment to id_loc.
(build_array_declarator): New argument.
* c-decl.c (build_array_declarator): Add location argument.
(grokdeclarator): Set id_loc for cdk_array.
* c-parser.c (c_parser_direct_declarator_inner): Pass location to
build_array_declarator.
Modified:
branches/diagnostics-branch/gcc/ChangeLog.diagnostics
branches/diagnostics-branch/gcc/c-decl.c
branches/diagnostics-branch/gcc/c-parser.c
branches/diagnostics-branch/gcc/c-tree.h