cplx.getImag()));
cplx.getImagExpr()));
    private Expression makeComplexTemporary(Expression expr)    {        if (!(expr instanceof ExprComplex))            return expr;        ExprComplex cplx = (ExprComplex)expr;        // This code path almost certainly isn't going to follow        // the path tojava.TempVarGen was written for, so we can        // ignore the type parameter.        String tempVar = varGen.varName(varGen.nextVar(null));        Expression exprVar = new ExprVar(expr.getContext(), tempVar);        Type type = new TypePrimitive(TypePrimitive.TYPE_COMPLEX);        addStatement(new StmtVarDecl(expr.getContext(), type, tempVar, null));        symtab.registerVar(tempVar, type);        addStatement(new StmtAssign(expr.getContext(),                                    new ExprField(expr.getContext(),                                                  exprVar, "real"),                                    cplx.getReal()));        addStatement(new StmtAssign(expr.getContext(),                                    new ExprField(expr.getContext(),                                                  exprVar, "imag"),                                    cplx.getImag()));        return exprVar;    }