projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8365ee
)
allow [] in suffix operand
author
Doug Evans
<dje@google.com>
Tue, 27 Jan 1998 02:36:28 +0000
(
02:36
+0000)
committer
Doug Evans
<dje@google.com>
Tue, 27 Jan 1998 02:36:28 +0000
(
02:36
+0000)
gas/config/tc-txvu.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-txvu.c
b/gas/config/tc-txvu.c
index e8c92f52be8c7332074d2b83f523d4048c65fa17..0c4e4f1f126435d603b8bf4d8024ced02959f305 100644
(file)
--- a/
gas/config/tc-txvu.c
+++ b/
gas/config/tc-txvu.c
@@
-416,7
+416,9
@@
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; *t && isalpha (*t); ++t)
+ for (t = *s == '.' ? s + 1 : s;
+ *t && (isalnum (*t) || *t == '[' || *t == ']');
+ ++t)
continue;
c = *t;
*t = '\0';