* 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:
parent
fbb06eb1ba
commit
c806c55a06
5 changed files with 18 additions and 5 deletions
|
@ -767,7 +767,7 @@ operator_length_standard (struct expression *expr, int endpos,
|
|||
break;
|
||||
|
||||
case OP_COMPLEX:
|
||||
oplen = 1;
|
||||
oplen = 3;
|
||||
args = 2;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue