summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-01 15:42:10 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-01 15:42:10 +0000
commit42f3005ad27ec08efc542e0055767eaa3d2eba83 (patch)
tree1de6a5f190a1a2644c6fa52d4182dc6b95a6b640 /gcc
parent6320ff2598178a1ffa49ae4f6e9111cc76b6fece (diff)
downloadppe42-gcc-42f3005ad27ec08efc542e0055767eaa3d2eba83.tar.gz
ppe42-gcc-42f3005ad27ec08efc542e0055767eaa3d2eba83.zip
* lex.c (ffelex_file_pop_): Rename parameter from input_filename.
(ffelex_file_push_): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66330 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/f/ChangeLog3
-rw-r--r--gcc/f/lex.c12
2 files changed, 9 insertions, 6 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index a44948f724f..08537f6765e 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,5 +1,8 @@
2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
+ * lex.c (ffelex_file_pop_): Rename parameter from input_filename.
+ (ffelex_file_push_): Likewise.
+
* ste.c (struct gbe_block): Rename field from input_filename.
(ffeste_start_block_, ffeste_start_stmt_): Likewise.
diff --git a/gcc/f/lex.c b/gcc/f/lex.c
index 6d065ddd052..3e8465d76c4 100644
--- a/gcc/f/lex.c
+++ b/gcc/f/lex.c
@@ -788,7 +788,7 @@ ffelex_cfelex_ (ffelexToken *xtoken, FILE *finput, int c)
}
static void
-ffelex_file_pop_ (const char *input_filename)
+ffelex_file_pop_ (const char *filename)
{
if (input_file_stack->next)
{
@@ -804,27 +804,27 @@ ffelex_file_pop_ (const char *input_filename)
/* Now that we've pushed or popped the input stack,
update the name in the top element. */
if (input_file_stack)
- input_file_stack->name = input_filename;
+ input_file_stack->name = filename;
}
static void
-ffelex_file_push_ (int old_lineno, const char *input_filename)
+ffelex_file_push_ (int old_lineno, const char *filename)
{
struct file_stack *p
= (struct file_stack *) xmalloc (sizeof (struct file_stack));
input_file_stack->line = old_lineno;
p->next = input_file_stack;
- p->name = input_filename;
+ p->name = filename;
input_file_stack = p;
input_file_stack_tick++;
- (*debug_hooks->start_source_file) (0, input_filename);
+ (*debug_hooks->start_source_file) (0, filename);
/* Now that we've pushed or popped the input stack,
update the name in the top element. */
if (input_file_stack)
- input_file_stack->name = input_filename;
+ input_file_stack->name = filename;
}
/* Prepare to finish a statement-in-progress by sending the current
OpenPOWER on IntegriCloud