aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-07-01 09:00:45 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2003-07-01 09:00:45 +0000
commit5b030314afd5f84d30e79594db48bb76da28e36a (patch)
tree1ab2a373f3e8ac65651f191c54f58b1023039ddc /gcc/cp/semantics.c
parentc9bdad35171f64bcabad635254fa9f3dfc05a376 (diff)
downloadgcc-5b030314afd5f84d30e79594db48bb76da28e36a.zip
gcc-5b030314afd5f84d30e79594db48bb76da28e36a.tar.gz
gcc-5b030314afd5f84d30e79594db48bb76da28e36a.tar.bz2
c-tree.h (define_label): Replace filename and lineno arguments with a location_t.
* c-tree.h (define_label): Replace filename and lineno arguments with a location_t. * c-decl.c (poplevel): Adjust define_label call. (pop_label_level): Likewise. (define_label): Replace filename and lineno arguments with a location_t. (store_parm_decls): Use DECL_SOURCE_LOCATION. * c-parse.in (label): Adjust define_label call. * cp/cp-tree.h (define_label): Replace filename and lineno arguments with a location_t. * cp/decl.c (pop_label): Adjust define_label call. (define_label): Replace filename and lineno arguments with a location_t. * cp/semantics.c (finish_label): Adjust define_label call. * java/decl.c (poplevel): Adjust define_label call. From-SVN: r68766
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index aaf8be4..a42443b 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -1136,7 +1136,7 @@ finish_asm_stmt (tree cv_qualifier,
tree
finish_label_stmt (tree name)
{
- tree decl = define_label (input_filename, input_line, name);
+ tree decl = define_label (input_location, name);
return add_stmt (build_stmt (LABEL_STMT, decl));
}