aboutsummaryrefslogtreecommitdiff
path: root/gas/input-scrub.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-09-10 16:25:31 +0000
committerIan Lance Taylor <ian@airs.com>1992-09-10 16:25:31 +0000
commitb1520b1f70592852ff37cec566ff58de9c78c88c (patch)
tree610e612fac2d521880d0361893ba3d20e53fa0c8 /gas/input-scrub.c
parent2dd00294b93df134d3d6593871843a49baa211eb (diff)
downloadgdb-b1520b1f70592852ff37cec566ff58de9c78c88c.zip
gdb-b1520b1f70592852ff37cec566ff58de9c78c88c.tar.gz
gdb-b1520b1f70592852ff37cec566ff58de9c78c88c.tar.bz2
Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
* input-scrub.c (input_scrub_push): call input_file_begin, not input_scrub_begin. messages.c (as_perror): print ": " between the passed in error and the strerror, like perror does.
Diffstat (limited to 'gas/input-scrub.c')
-rw-r--r--gas/input-scrub.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/input-scrub.c b/gas/input-scrub.c
index c2a6114..bdfd91c 100644
--- a/gas/input-scrub.c
+++ b/gas/input-scrub.c
@@ -134,7 +134,9 @@ char *saved_position;
saved->next_saved_file = next_saved_file;
saved->input_file_save = input_file_push();
- input_scrub_begin(); /* Reinitialize! */
+ input_file_begin(); /* Reinitialize! */
+ logical_input_line = 0;
+ logical_input_file = (char *)NULL;
return((char *) saved);
} /* input_scrub_push() */