diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-09-19 05:33:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-09-19 05:33:36 +0000 |
commit | 3882b010780ca1aa1ed5d7b38e936cd2d6d5486b (patch) | |
tree | c806a73a13afd3265ba6b538ba73cae065c591f5 /gas/config/tc-pdp11.c | |
parent | 6b819c92c4512ccfba90f0caa204ab687fae8254 (diff) | |
download | gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.zip gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.gz gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.bz2 |
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'gas/config/tc-pdp11.c')
-rw-r--r-- | gas/config/tc-pdp11.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gas/config/tc-pdp11.c b/gas/config/tc-pdp11.c index 3af7dc8..a38a0ea 100644 --- a/gas/config/tc-pdp11.c +++ b/gas/config/tc-pdp11.c @@ -26,6 +26,7 @@ */ #include "as.h" +#include "safe-ctype.h" #include "opcode/pdp11.h" static int set_option PARAMS ((char *arg)); @@ -252,19 +253,11 @@ find_whitespace (char *str) return str; } -static char -mklower (char c) -{ - if (isupper (c)) - return tolower (c); - return c; -} - static char * parse_reg (char *str, struct pdp11_code *operand) { str = skip_whitespace (str); - if (mklower (*str) == 'r') + if (TOLOWER (*str) == 'r') { str++; switch (*str) |