From: Alexandre Oliva Date: Wed, 12 Dec 2001 07:32:47 +0000 (+0000) Subject: * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c0392a98adf324b4bf5512b76ad3e248c6901d3;p=binutils-gdb.git * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after OPERAND_ATSIGN as O_absent. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index fc5204c0c63..8b3100c82f9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-12-12 Alexandre Oliva + + * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after + OPERAND_ATSIGN as O_absent. + 2001-12-07 Geoffrey Keating Richard Henderson diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c index 0dbf98a5a33..31d7fca64ac 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); }