Remove spurious condition in test for closing parenthesis.

* config/tc-h8300.c (get_operand): Remove spurious condition in
	test for closing parenthesis.
This commit is contained in:
Yoshinori Sato 2016-01-13 17:47:34 +00:00 committed by Nick Clifton
parent 4e7b8beaa3
commit 8a4c286981
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
* config/tc-h8300.c (get_operand): Remove spurious condition in
test for closing parenthesis.
2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
* config/tc-arm.c (arm_ext_v8_2): New.

View File

@ -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;