aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-h8500.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-h8500.c')
-rw-r--r--gas/config/tc-h8500.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-h8500.c b/gas/config/tc-h8500.c
index 1cb1bcf..f58163f 100644
--- a/gas/config/tc-h8500.c
+++ b/gas/config/tc-h8500.c
@@ -286,7 +286,8 @@ parse_exp (s, op, page)
input_line_pointer = s;
- if (expression (op) == O_absent)
+ expression (op);
+ if (op->X_op == O_absent)
as_bad ("missing operand");
new = input_line_pointer;
input_line_pointer = save;