From 4714db5aef1205624a11f594c7bd45e87a4a0092 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Sun, 29 Jun 2003 11:28:00 +0000 Subject: c-decl.c (c_init_decl_processing): Use a location_t. * c-decl.c (c_init_decl_processing): Use a location_t. Set input filename to . * tree.c (make_node): Just copy the current location. From-SVN: r68667 --- gcc/tree.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gcc/tree.c') diff --git a/gcc/tree.c b/gcc/tree.c index 9b434d8..0861cb2 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -308,9 +308,7 @@ make_node (code) DECL_ALIGN (t) = 1; DECL_USER_ALIGN (t) = 0; DECL_IN_SYSTEM_HEADER (t) = in_system_header; - DECL_SOURCE_LINE (t) = input_line; - DECL_SOURCE_FILE (t) = - (input_filename) ? input_filename : ""; + DECL_SOURCE_LOCATION (t) = input_location; DECL_UID (t) = next_decl_uid++; /* We have not yet computed the alias set for this declaration. */ -- cgit v1.1