diff options
author | H.J. Lu <hjl@lucon.org> | 2001-09-19 05:33:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-09-19 05:33:36 +0000 |
commit | 75e56203c5a58ad68a2015e0c7da2590093a3ec0 (patch) | |
tree | e91126f6df5579aaae921d5b82dc556b8c174966 /gas/ecoff.c | |
parent | 196eb9fb0228e90f1f5c43a65372657f443580da (diff) | |
download | binutils-redhat-75e56203c5a58ad68a2015e0c7da2590093a3ec0.tar.gz |
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'gas/ecoff.c')
-rw-r--r-- | gas/ecoff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/ecoff.c b/gas/ecoff.c index cbcdd9fb79..ed1192115f 100644 --- a/gas/ecoff.c +++ b/gas/ecoff.c @@ -37,7 +37,7 @@ #include "coff/symconst.h" #include "aout/stab_gnu.h" -#include <ctype.h> +#include "safe-ctype.h" /* Why isn't this in coff/sym.h? */ #define ST_RFDESCAPE 0xfff @@ -3101,7 +3101,7 @@ ecoff_directive_ent (ignore) ++input_line_pointer; SKIP_WHITESPACE (); } - if (isdigit ((unsigned char) *input_line_pointer) + if (ISDIGIT (*input_line_pointer) || *input_line_pointer == '-') (void) get_absolute_expression (); @@ -3546,7 +3546,7 @@ ecoff_stab (sec, what, string, type, other, desc) listing_source_file (string); #endif - if (isdigit ((unsigned char) *input_line_pointer) + if (ISDIGIT (*input_line_pointer) || *input_line_pointer == '-' || *input_line_pointer == '+') { |