aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2016-01-13 17:47:34 +0000
committerNick Clifton <nickc@redhat.com>2016-01-13 17:47:34 +0000
commit8a4c286981e1a69596a6296ac14b66c5cee05550 (patch)
tree87e45d144a679181dccb119da82087fe666b7342 /gas/config
parent4e7b8beaa3b7b9ac8577b10afa9d58bb9d453b08 (diff)
downloadfsf-binutils-gdb-8a4c286981e1a69596a6296ac14b66c5cee05550.zip
fsf-binutils-gdb-8a4c286981e1a69596a6296ac14b66c5cee05550.tar.gz
fsf-binutils-gdb-8a4c286981e1a69596a6296ac14b66c5cee05550.tar.bz2
Remove spurious condition in test for closing parenthesis.
* config/tc-h8300.c (get_operand): Remove spurious condition in test for closing parenthesis.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-h8300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c
index 72e5cec..063c40d 100644
--- a/gas/config/tc-h8300.c
+++ b/gas/config/tc-h8300.c
@@ -826,7 +826,7 @@ get_operand (char **ptr, struct h8_op *op, int direction)
op->mode |= DISP | direction;
src = skip_colonthing (src, &op->mode);
- if (*src != ')' && '(')
+ if (*src != ')')
{
as_bad (_("expected @(exp, reg16)"));
return;