stage4/generate_c/generate_c_il.cc
changeset 885 b2604fc6d25c
parent 877 c25346eac788
child 945 477393b00f95
equal deleted inserted replaced
880:599e88d12f9a 885:b2604fc6d25c
   443       }
   443       }
   444       else if (type_is_complex)
   444       else if (type_is_complex)
   445         wanted_variablegeneration = complextype_base_assignment_vg;
   445         wanted_variablegeneration = complextype_base_assignment_vg;
   446       else
   446       else
   447         wanted_variablegeneration = assignment_vg;
   447         wanted_variablegeneration = assignment_vg;
   448 
       
   449       symbol->accept(*this);
   448       symbol->accept(*this);
       
   449 /*
   450       s4o.print(",");
   450       s4o.print(",");
   451       if (negative) {
   451       if (negative) {
   452         if (get_datatype_info_c::is_BOOL_compatible(this->current_operand->datatype))
   452         if (get_datatype_info_c::is_BOOL_compatible(this->current_operand->datatype))
   453           s4o.print("!");
   453           s4o.print("!");
   454         else
   454         else
   459       if (type_is_complex) {
   459       if (type_is_complex) {
   460         s4o.print(",");
   460         s4o.print(",");
   461         wanted_variablegeneration = complextype_suffix_vg;
   461         wanted_variablegeneration = complextype_suffix_vg;
   462         symbol->accept(*this);
   462         symbol->accept(*this);
   463       }
   463       }
       
   464       s4o.print(")");
       
   465       wanted_variablegeneration = expression_vg;
       
   466       return NULL;
       
   467 */
       
   468       s4o.print(",");
       
   469       if (type_is_complex) {
       
   470         wanted_variablegeneration = complextype_suffix_vg;
       
   471         symbol->accept(*this);
       
   472       }
       
   473       s4o.print(",");
       
   474       if (negative) {
       
   475         if (get_datatype_info_c::is_BOOL_compatible(this->current_operand->datatype))
       
   476           s4o.print("!");
       
   477         else
       
   478           s4o.print("~");
       
   479       }
       
   480       wanted_variablegeneration = expression_vg;
       
   481       print_check_function(type, value, fb_value);
   464       s4o.print(")");
   482       s4o.print(")");
   465       wanted_variablegeneration = expression_vg;
   483       wanted_variablegeneration = expression_vg;
   466       return NULL;
   484       return NULL;
   467     }
   485     }
   468 
   486