From 8a4c286981e1a69596a6296ac14b66c5cee05550 Mon Sep 17 00:00:00 2001 From: Yoshinori Sato Date: Wed, 13 Jan 2016 17:47:34 +0000 Subject: Remove spurious condition in test for closing parenthesis. * config/tc-h8300.c (get_operand): Remove spurious condition in test for closing parenthesis. --- gas/config/tc-h8300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config/tc-h8300.c') 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; -- cgit v1.1