mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
* expression.h (enum exp_opcode): Document OP_COMPLEX to take
a type parameter as expression element. * eval.c (evaluate_subexp_standard) [OP_COMPLEX]: Retrieve result type as expression element. * f-exp.y: Pass in type when buildin OP_COMPLEX expression. * parse.c (operator_length_standard): Update length of OP_COMPLEX.
This commit is contained in:
@ -767,7 +767,7 @@ operator_length_standard (struct expression *expr, int endpos,
|
||||
break;
|
||||
|
||||
case OP_COMPLEX:
|
||||
oplen = 1;
|
||||
oplen = 3;
|
||||
args = 2;
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user