diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2010-11-02 14:56:38 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2010-11-02 14:56:38 +0200 |
commit | c86af7f3e49d0209d8bf3e54a3d064f98e32debd (patch) | |
tree | b51f35ef09ae01a2522589a5142acc1588ac2f66 /libgfortran/io/io.h | |
parent | 6f1abb06a628f1b0abd1a85b78cb68666bcb3b23 (diff) | |
download | gcc-c86af7f3e49d0209d8bf3e54a3d064f98e32debd.zip gcc-c86af7f3e49d0209d8bf3e54a3d064f98e32debd.tar.gz gcc-c86af7f3e49d0209d8bf3e54a3d064f98e32debd.tar.bz2 |
PR 45629 Remove usage of setjmp/longjmp
From-SVN: r166180
Diffstat (limited to 'libgfortran/io/io.h')
-rw-r--r-- | libgfortran/io/io.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h index 5089b6f..ebe7f7c 100644 --- a/libgfortran/io/io.h +++ b/libgfortran/io/io.h @@ -31,7 +31,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" -#include <setjmp.h> #include <gthr.h> /* Forward declarations. */ @@ -427,7 +426,10 @@ typedef struct st_parameter_dt unsigned format_not_saved : 1; /* 14 unused bits. */ - char last_char; + /* Used for ungetc() style functionality. Possible values + are an unsigned char, EOF, or EOF - 1 used to mark the + field as not valid. */ + int last_char; char nml_delim; int repeat_count; @@ -438,7 +440,6 @@ typedef struct st_parameter_dt char *scratch; char *line_buffer; struct format_data *fmt; - jmp_buf *eof_jump; namelist_info *ionml; /* A flag used to identify when a non-standard expanded namelist read has occurred. */ |