mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
Fix stupid bugs inserted during expression conversion.
This commit is contained in:
parent
f47e56c99f
commit
283dba4ba3
@ -403,7 +403,8 @@ parse_operand (s, operandp)
|
||||
char *new;
|
||||
|
||||
input_line_pointer = s;
|
||||
if (expression (operandp) == O_absent)
|
||||
expression (operandp);
|
||||
if (operandp->X_op == O_absent)
|
||||
as_bad ("missing operand");
|
||||
new = input_line_pointer;
|
||||
input_line_pointer = save;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user