diff --git a/gas/ChangeLog b/gas/ChangeLog index c529425394..d0f7e29a57 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 18 11:24:01 1997 Doug Evans + + * config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names. + Wed Sep 17 16:54:20 1997 Nick Clifton * config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ () diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c index f6b4df0867..8a9f84980f 100644 --- a/gas/config/tc-sparc.c +++ b/gas/config/tc-sparc.c @@ -752,7 +752,7 @@ md_begin () while (i < sparc_num_opcodes) { const char *name = sparc_opcodes[i].name; - retval = hash_insert (op_hash, name, &sparc_opcodes[i]); + retval = hash_insert (op_hash, name, (PTR) &sparc_opcodes[i]); if (retval != NULL) { fprintf (stderr, "internal error: can't hash `%s': %s\n", @@ -1143,7 +1143,7 @@ parse_keyword_arg (lookup_fn, input_pointerP, valueP) char c, *p, *q; p = *input_pointerP; - for (q = p + (*p == '#' || *p == '%'); isalpha (*q) || *q == '_'; ++q) + for (q = p + (*p == '#' || *p == '%'); isalnum (*q) || *q == '_'; ++q) continue; c = *q; *q = 0;