diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-05-03 16:39:50 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-05-03 16:39:50 +0000 |
commit | 31423e30eeeb688c09434451706da181ad17ac2b (patch) | |
tree | 0d5819f6b3ce73d7fa9752f37cbda68842d32200 /gcc/f/ste.c | |
parent | 5a43f8c419e41730a6d6cf824395f1de2fa9dd9e (diff) | |
download | gcc-31423e30eeeb688c09434451706da181ad17ac2b.zip gcc-31423e30eeeb688c09434451706da181ad17ac2b.tar.gz gcc-31423e30eeeb688c09434451706da181ad17ac2b.tar.bz2 |
com.c (ffecom_do_entry_): Use location_t and input_location directly.
* 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.
From-SVN: r66432
Diffstat (limited to 'gcc/f/ste.c')
-rw-r--r-- | gcc/f/ste.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/f/ste.c b/gcc/f/ste.c index 1648d8f..f27c93e 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; |