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 /opcodes/cgen-asm.c | |
parent | 196eb9fb0228e90f1f5c43a65372657f443580da (diff) | |
download | binutils-redhat-75e56203c5a58ad68a2015e0c7da2590093a3ec0.tar.gz |
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'opcodes/cgen-asm.c')
-rw-r--r-- | opcodes/cgen-asm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/opcodes/cgen-asm.c b/opcodes/cgen-asm.c index 7bb29ca986..dba0c37d42 100644 --- a/opcodes/cgen-asm.c +++ b/opcodes/cgen-asm.c @@ -1,6 +1,6 @@ /* CGEN generic assembler support code. - Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU Binutils and GDB, the GNU debugger. @@ -20,9 +20,9 @@ #include "sysdep.h" #include <stdio.h> -#include <ctype.h> #include "ansidecl.h" #include "libiberty.h" +#include "safe-ctype.h" #include "bfd.h" #include "symcat.h" #include "opcode/cgen.h" @@ -221,8 +221,7 @@ cgen_parse_keyword (cd, strp, keyword_table, valuep) /* Allow letters, digits, and any special characters. */ while (((p - start) < (int) sizeof (buf)) && *p - && (isalnum ((unsigned char) *p) - || strchr (keyword_table->nonalpha_chars, *p))) + && (ISALNUM (*p) || strchr (keyword_table->nonalpha_chars, *p))) ++p; if (p - start >= (int) sizeof (buf)) |