diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-12-12 07:32:47 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-12-12 07:32:47 +0000 |
commit | 8c0392a98adf324b4bf5512b76ad3e248c6901d3 (patch) | |
tree | e62760d9f0666f62014ba6ada71f3bd01f510bc5 /gas/config | |
parent | 74a9bb82c55f8d399894d5b3525572c17c3a0312 (diff) | |
download | gdb-8c0392a98adf324b4bf5512b76ad3e248c6901d3.zip gdb-8c0392a98adf324b4bf5512b76ad3e248c6901d3.tar.gz gdb-8c0392a98adf324b4bf5512b76ad3e248c6901d3.tar.bz2 |
* config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after
OPERAND_ATSIGN as O_absent.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-d10v.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c index 0dbf98a..31d7fca 100644 --- a/gas/config/tc-d10v.c +++ b/gas/config/tc-d10v.c @@ -459,8 +459,10 @@ get_operands (exp) exp[numops].X_add_number = OPERAND_ATSIGN; if (*p == '+') { - exp[++numops].X_add_number = OPERAND_PLUS; - ++p; + numops++; + exp[numops].X_op = O_absent; + exp[numops].X_add_number = OPERAND_PLUS; + p++; } post = postfix (p); } |