projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Locale changes from Bruno Haible <haible@clisp.cons.org>.
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-pdp11.c
diff --git
a/gas/config/tc-pdp11.c
b/gas/config/tc-pdp11.c
index 3af7dc815fa4a177911cb346c0976858b06754e4..a38a0eab67fc864ca31bd22f3df8874a94009412 100644
(file)
--- a/
gas/config/tc-pdp11.c
+++ b/
gas/config/tc-pdp11.c
@@
-26,6
+26,7
@@
*/
#include "as.h"
*/
#include "as.h"
+#include "safe-ctype.h"
#include "opcode/pdp11.h"
static int set_option PARAMS ((char *arg));
#include "opcode/pdp11.h"
static int set_option PARAMS ((char *arg));
@@
-252,19
+253,11
@@
find_whitespace (char *str)
return 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);
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)
{
str++;
switch (*str)
This page took
0.023436 seconds
and
4
git commands to generate.