* config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after

OPERAND_ATSIGN as O_absent.
This commit is contained in:
Alexandre Oliva 2001-12-12 07:32:47 +00:00
parent 74a9bb82c5
commit 8c0392a98a
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2001-12-12 Alexandre Oliva <aoliva@redhat.com>
* config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after
OPERAND_ATSIGN as O_absent.
2001-12-07 Geoffrey Keating <geoffk@redhat.com> 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
Richard Henderson <rth@redhat.com> Richard Henderson <rth@redhat.com>

View file

@ -459,8 +459,10 @@ get_operands (exp)
exp[numops].X_add_number = OPERAND_ATSIGN; exp[numops].X_add_number = OPERAND_ATSIGN;
if (*p == '+') if (*p == '+')
{ {
exp[++numops].X_add_number = OPERAND_PLUS; numops++;
++p; exp[numops].X_op = O_absent;
exp[numops].X_add_number = OPERAND_PLUS;
p++;
} }
post = postfix (p); post = postfix (p);
} }