]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* app.c (scrub_file): Remove.
authorIan Lance Taylor <ian@airs.com>
Sun, 27 Aug 1995 00:33:56 +0000 (00:33 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 27 Aug 1995 00:33:56 +0000 (00:33 +0000)
(scrub_from_file, scrub_to_file): Remove.
(scrub_string, scrub_last_string): Remove.
(scrub_from_string, scrub_to_string): Remove.
(saved_input, saved_input_len): New static variables.
(struct app_saved): Remove scrub_string, scrub_last_string, and
scrub_file fields.  Add saved_input and saved_input_len fields.
(app_push): Adjust saved fields for changes in struct app_save.
Initialize state and saved_input.
(app_pop): Adjust saved fields for changes in struct app_save.
(do_scrub_chars): Rename from do_scrub_next_char and rewrite to
process a buffer at a time rather than a character at a time.
(main, as_warn): Remove obsolete testing code.
* as.h (do_scrub_next_char): Don't declare.
(do_scrub_chars): Declare.
(scrub_from_file, scrub_from_string): Don't declare.
(scrub_to_file, scrub_to_string): Don't declare.
* input-file.c (input_file_get): New static function.
(input_file_give_next_buffer): Call do_scrub_chars rather than
do_scrub_next_char.
* read.c (scrub_string, scrub_string_end): New static variables.
(scrub_from_string): New static function.
(read_a_source_file): Call do_scrub_chars rather than
do_scrub_next_char.
(and comment change in input-scrub.c)

gas/ChangeLog

index 71a05b4b7a2cf2381d1ee3ea824e18b0a6db62b1..4096df1a972d77b65f30d3d2787ed3ce2e43cbeb 100644 (file)
@@ -1,3 +1,30 @@
+Sat Aug 26 17:24:20 1995  Ian Lance Taylor  (ian@cygnus.com)
+
+       * app.c (scrub_file): Remove.
+       (scrub_from_file, scrub_to_file): Remove.
+       (scrub_string, scrub_last_string): Remove.
+       (scrub_from_string, scrub_to_string): Remove.
+       (saved_input, saved_input_len): New static variables.
+       (struct app_saved): Remove scrub_string, scrub_last_string, and
+       scrub_file fields.  Add saved_input and saved_input_len fields.
+       (app_push): Adjust saved fields for changes in struct app_save.
+       Initialize state and saved_input.
+       (app_pop): Adjust saved fields for changes in struct app_save.
+       (do_scrub_chars): Rename from do_scrub_next_char and rewrite to
+       process a buffer at a time rather than a character at a time.
+       (main, as_warn): Remove obsolete testing code.
+       * as.h (do_scrub_next_char): Don't declare.
+       (do_scrub_chars): Declare.
+       (scrub_from_file, scrub_from_string): Don't declare.
+       (scrub_to_file, scrub_to_string): Don't declare.
+       * input-file.c (input_file_get): New static function.
+       (input_file_give_next_buffer): Call do_scrub_chars rather than
+       do_scrub_next_char.
+       * read.c (scrub_string, scrub_string_end): New static variables.
+       (scrub_from_string): New static function.
+       (read_a_source_file): Call do_scrub_chars rather than
+       do_scrub_next_char.
+
 Thu Aug 24 18:50:19 1995  Ian Lance Taylor  (ian@cygnus.com)
 
        * gasp.c (as_abort): New function.