]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/cp-tree.h
cp-tree.h (struct cp_declarator): New id_loc field.
authorPer Bothner <per@bothner.com>
Sat, 12 Mar 2005 06:39:31 +0000 (22:39 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 12 Mar 2005 06:39:31 +0000 (22:39 -0800)
commitb68b68289b79f5aaa432ff03e5c4f978529fba18
treeab84c727f8411c748d1716bb8ec6b85eb9fa1fd4
parent6037d88d58ffcacc4ee354f4300910589dc5ce47
cp-tree.h (struct cp_declarator): New id_loc field.

* cp-tree.h (struct cp_declarator): New id_loc field.
* cp/parser.c (cp_lexer_get_preprocessor_token): Set cp_token's
location using c_lex_with_flags, instead of input_location.
(cp_parser_direct_declarator): Set declarator's id_loc from
cp_token's id_loc.

From-SVN: r96330
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
This page took 0.058177 seconds and 5 git commands to generate.