aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-txvu.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-01-27 18:12:33 +0000
committerDoug Evans <dje@google.com>1998-01-27 18:12:33 +0000
commitee1c882ed53ff116d9044ebc475ed009a08d2093 (patch)
treea4f9751c86f10e2fef2b4f7d83628c409b720f2f /gas/config/tc-txvu.c
parent764c48f8ab8802f4c67167596f64242c62da880b (diff)
downloadgdb-ee1c882ed53ff116d9044ebc475ed009a08d2093.zip
gdb-ee1c882ed53ff116d9044ebc475ed009a08d2093.tar.gz
gdb-ee1c882ed53ff116d9044ebc475ed009a08d2093.tar.bz2
allow '/' in addition to '.' in dest spec
Diffstat (limited to 'gas/config/tc-txvu.c')
-rw-r--r--gas/config/tc-txvu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-txvu.c b/gas/config/tc-txvu.c
index de38477..fdbaeb2 100644
--- a/gas/config/tc-txvu.c
+++ b/gas/config/tc-txvu.c
@@ -414,7 +414,7 @@ assemble_one_insn (cpu, opcode, operand_table, str, insn_buf)
/* Pick the suffix out and parse it. */
/* ??? Hmmm ... there may not be any need to nul-terminate the
string, and it may in fact complicate things. */
- for (t = *s == '.' ? s + 1 : s;
+ for (t = (*s == '.' || *s == '/') ? s + 1 : s;
*t && (isalnum (*t) || *t == '[' || *t == ']');
++t)
continue;