* 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:
Ulrich Weigand
2008-09-11 14:12:15 +00:00
parent fbb06eb1ba
commit c806c55a06
5 changed files with 18 additions and 5 deletions

View File

@ -767,7 +767,7 @@ operator_length_standard (struct expression *expr, int endpos,
break;
case OP_COMPLEX:
oplen = 1;
oplen = 3;
args = 2;
break;