]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/input-file.c
* app.c (input_buffer): New static variable.
authorIan Lance Taylor <ian@airs.com>
Thu, 3 Jun 1999 00:24:14 +0000 (00:24 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 3 Jun 1999 00:24:14 +0000 (00:24 +0000)
commit2b47531bf9ef778773831ecb1b43186e95ffe8d7
tree684eca49faf900f0045c5a6c14670c6cb1dcfa51
parent1af6dcd2bb59d35b0a2cd2e7898831e685bc043f
* app.c (input_buffer): New static variable.
(app_push): Save saved_input in allocated buffer.
(app_pop): Restored saved_input.
(do_scrub_chars): Change get parameter to take char * and int as
arguments.  Change GET macro to pass input_buffer to get
function.  Don't save input into allocated buffer.
* as.h (do_scrub_chars): Update declaration.
* input-file.c (input_file_get): Change to take char * and int.
Read data into passed in buffer.  Remove static buffer.
* read.c (scrub_from_string): Change to take char * and int.  Copy
data into passed in buffer.
gas/app.c
gas/as.h
gas/input-file.c
gas/read.c