diff options
author | fx <fx@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-16 02:23:44 +0000 |
---|---|---|
committer | fx <fx@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-16 02:23:44 +0000 |
commit | 502325edbf50cf753ccd3defe38cfad8f4465d7e (patch) | |
tree | c5d64b68c6b98dba2288a4954b8f7a54c140001e /gcc/f/target.c | |
parent | 80158a86ecfc35826bb2298fd46fd18cdaaad616 (diff) | |
download | ppe42-gcc-502325edbf50cf753ccd3defe38cfad8f4465d7e.tar.gz ppe42-gcc-502325edbf50cf753ccd3defe38cfad8f4465d7e.zip |
Mon Jun 15 22:21:57 1998 Craig Burley <burley@gnu.org>
Cutover to system.h:
* Make-lang.in:
* Makefile.in:
* ansify.c:
* bad.c:
* bld.c:
* com.c:
* com.h:
* expr.c:
* fini.c:
* g77spec.c:
* implic.c:
* intdoc.c:
* intrin.c:
* lex.c:
* lex.h:
* parse.c:
* proj.c:
* proj.h:
* src.c:
* src.h:
* stb.c:
* ste.c:
* target.c:
* top.c:
* system.j: New file.
Use toplev.h where appropriate:
* Make-lang.in:
* Makefile.in:
* bad.c:
* bld.c:
* com.c:
* lex.c:
* ste.c:
* top.c:
* toplev.j: New file.
Conditionalize all dumping/reporting routines so they don't
get built for gcc/egcs:
* bld.c:
* bld.h:
* com.c:
* equiv.c:
* equiv.h:
* sta.c:
* stt.c:
* stt.h:
* symbol.c:
* symbol.h:
Use hconfig.h instead of config.h where appropriate:
* Makefile.in (proj-h.o): Compile with -DUSE_HCONFIG.
* fini.c: Define USE_HCONFIG before including proj.h.
* Makefile.in (deps-kinda): Redirect stderr to stdout,
to eliminate diagnostics vis-a-vis g77spec.c.
* Makefile.in: Regenerate dependencies via deps-kinda.
* lex.c (ffelex_file_fixed, ffelex_file_free): Eliminate
apparently spurious warnings about uninitialized variables
`c', `column', and so on.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20520 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/target.c')
-rw-r--r-- | gcc/f/target.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/f/target.c b/gcc/f/target.c index 602c1c69fea..b66fdc8907b 100644 --- a/gcc/f/target.c +++ b/gcc/f/target.c @@ -69,7 +69,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA /* Include files. */ #include "proj.h" -#include <ctype.h> #include "glimits.j" #include "target.h" #include "bad.h" @@ -131,7 +130,7 @@ ffetarget_print_char_ (FILE *f, unsigned char c) break; default: - if (isprint (c) && isascii (c)) + if (ISPRINT (c)) fputc (c, f); else fprintf (f, "\\%03o", (unsigned int) c); @@ -2386,7 +2385,7 @@ ffetarget_typeless_binary (ffetargetTypeless *xvalue, ffelexToken token) new_value <<= 1; if ((new_value >> 1) != value) overflow = TRUE; - if (isdigit (c)) + if (ISDIGIT (c)) new_value += c - '0'; else bad_digit = TRUE; @@ -2430,7 +2429,7 @@ ffetarget_typeless_octal (ffetargetTypeless *xvalue, ffelexToken token) new_value <<= 3; if ((new_value >> 3) != value) overflow = TRUE; - if (isdigit (c)) + if (ISDIGIT (c)) new_value += c - '0'; else bad_digit = TRUE; @@ -2474,7 +2473,7 @@ ffetarget_typeless_hex (ffetargetTypeless *xvalue, ffelexToken token) new_value <<= 4; if ((new_value >> 4) != value) overflow = TRUE; - if (isdigit (c)) + if (ISDIGIT (c)) new_value += c - '0'; else if ((c >= 'A') && (c <= 'F')) new_value += c - 'A' + 10; |