diff options
Diffstat (limited to 'gcc/c-parse.in')
| -rw-r--r-- | gcc/c-parse.in | 10 |
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 {}', |

