summaryrefslogtreecommitdiff
path: root/gcc/f/ste.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-03 16:39:50 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-03 16:39:50 +0000
commit1a975cb784cc0cc15a6080bc138f1c5faf1b27ee (patch)
tree0d5819f6b3ce73d7fa9752f37cbda68842d32200 /gcc/f/ste.c
parentd4d8fa459f1dc191e2de35e7c3b37974e5c39b43 (diff)
downloadgcc-1a975cb784cc0cc15a6080bc138f1c5faf1b27ee.tar.gz
* com.c (ffecom_do_entry_): Use location_t and input_location
directly. (ffecom_gen_sfuncdef_): Likewise. (ffecom_start_progunit_): Likewise. (ffecom_sym_transform_): Likewise. (ffecom_sym_transform_assign_): Likewise. * lex.c (ffelex_hash_): Likewise. (ffelex_include_): Likewise. * std.c (ffestd_exec_begin): Likewise. (ffestd_exec_end): Likewise. * ste.c (struct gbe_block): Likewise. (ffeste_start_block_): Likewise. (ffeste_start_stmt_): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66432 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/ste.c')
-rw-r--r--gcc/f/ste.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/f/ste.c b/gcc/f/ste.c
index 1648d8fef9b..f27c93ec296 100644
--- a/gcc/f/ste.c
+++ b/gcc/f/ste.c
@@ -387,8 +387,7 @@ typedef struct gbe_block
{
struct gbe_block *outer;
ffestw block;
- int lineno;
- const char *filename;
+ location_t location;
bool is_stmt;
} *gbe_block;
@@ -401,8 +400,7 @@ ffeste_start_block_ (ffestw block)
b->outer = ffeste_top_block_;
b->block = block;
- b->lineno = input_line;
- b->filename = input_filename;
+ b->location = input_location;
b->is_stmt = FALSE;
ffeste_top_block_ = b;
@@ -443,8 +441,7 @@ ffeste_start_stmt_(void)
b->outer = ffeste_top_block_;
b->block = NULL;
- b->lineno = input_line;
- b->filename = input_filename;
+ b->location = input_location;
b->is_stmt = TRUE;
ffeste_top_block_ = b;