From 3882b010780ca1aa1ed5d7b38e936cd2d6d5486b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 19 Sep 2001 05:33:36 +0000 Subject: Locale changes from Bruno Haible . --- opcodes/cgen-asm.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'opcodes/cgen-asm.c') diff --git a/opcodes/cgen-asm.c b/opcodes/cgen-asm.c index 7bb29ca9867..dba0c37d427 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 -#include #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)) -- cgit v1.2.1