summaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-09-21 22:09:32 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-09-21 22:09:32 -0700
commitf31686a322301454c5ea5b997997aa7c84c57781 (patch)
treed942bc168b4a8f91e17acf863e1d2091ff773b6c /gcc/c-parse.in
parent0f7fcd6a40a237b634e0f93f1206724add7354d3 (diff)
downloadgcc-f31686a322301454c5ea5b997997aa7c84c57781.tar.gz
Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
From-SVN: r71641
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index 35825461b33..bb9cc1a7703 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -414,7 +414,7 @@ fndef:
YYERROR1;
}
old_style_parm_decls save_location
- { set_tree_locus (current_function_decl, $6);
+ { DECL_SOURCE_LOCATION (current_function_decl) = $6;
store_parm_decls (); }
compstmt_or_error
{ finish_function ();
@@ -427,7 +427,7 @@ fndef:
YYERROR1;
}
old_style_parm_decls save_location
- { set_tree_locus (current_function_decl, $6);
+ { DECL_SOURCE_LOCATION (current_function_decl) = $6;
store_parm_decls (); }
compstmt_or_error
{ finish_function ();
@@ -440,7 +440,7 @@ fndef:
YYERROR1;
}
old_style_parm_decls save_location
- { set_tree_locus (current_function_decl, $5);
+ { DECL_SOURCE_LOCATION (current_function_decl) = $5;
store_parm_decls (); }
compstmt_or_error
{ finish_function ();
@@ -1563,7 +1563,7 @@ nested_function:
}
old_style_parm_decls save_location
{ tree decl = current_function_decl;
- set_tree_locus (decl, $4);
+ DECL_SOURCE_LOCATION (decl) = $4;
store_parm_decls (); }
/* This used to use compstmt_or_error.
That caused a bug with input `f(g) int g {}',
@@ -1594,7 +1594,7 @@ notype_nested_function:
}
old_style_parm_decls save_location
{ tree decl = current_function_decl;
- set_tree_locus (decl, $4);
+ DECL_SOURCE_LOCATION (decl) = $4;
store_parm_decls (); }
/* This used to use compstmt_or_error.
That caused a bug with input `f(g) int g {}',