mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-07 15:04:36 +08:00
Fix stupid bugs inserted during expression conversion.
This commit is contained in:
gas/config
@ -403,7 +403,8 @@ parse_operand (s, operandp)
|
|||||||
char *new;
|
char *new;
|
||||||
|
|
||||||
input_line_pointer = s;
|
input_line_pointer = s;
|
||||||
if (expression (operandp) == O_absent)
|
expression (operandp);
|
||||||
|
if (operandp->X_op == O_absent)
|
||||||
as_bad ("missing operand");
|
as_bad ("missing operand");
|
||||||
new = input_line_pointer;
|
new = input_line_pointer;
|
||||||
input_line_pointer = save;
|
input_line_pointer = save;
|
||||||
|
@ -286,7 +286,8 @@ parse_exp (s, op, page)
|
|||||||
|
|
||||||
input_line_pointer = s;
|
input_line_pointer = s;
|
||||||
|
|
||||||
if (expression (op) == O_absent)
|
expression (op);
|
||||||
|
if (op->X_op == O_absent)
|
||||||
as_bad ("missing operand");
|
as_bad ("missing operand");
|
||||||
new = input_line_pointer;
|
new = input_line_pointer;
|
||||||
input_line_pointer = save;
|
input_line_pointer = save;
|
||||||
|
Reference in New Issue
Block a user