stage4/generate_c/generate_c_st.cc
changeset 885 b2604fc6d25c
parent 877 c25346eac788
child 887 a5e2eedeef53
equal deleted inserted replaced
880:599e88d12f9a 885:b2604fc6d25c
   211   else if (type_is_complex)
   211   else if (type_is_complex)
   212     wanted_variablegeneration = complextype_base_assignment_vg;
   212     wanted_variablegeneration = complextype_base_assignment_vg;
   213   else
   213   else
   214     wanted_variablegeneration = assignment_vg;
   214     wanted_variablegeneration = assignment_vg;
   215   
   215   
       
   216 /*
   216   symbol->accept(*this);
   217   symbol->accept(*this);
   217   s4o.print(",");
   218   s4o.print(",");
   218   wanted_variablegeneration = expression_vg;
   219   wanted_variablegeneration = expression_vg;
   219   print_check_function(type, value, fb_value);
   220   print_check_function(type, value, fb_value);
   220   if (type_is_complex) {
   221   if (type_is_complex) {
   221     s4o.print(",");
   222     s4o.print(",");
   222     wanted_variablegeneration = complextype_suffix_vg;
   223     wanted_variablegeneration = complextype_suffix_vg;
   223     symbol->accept(*this);
   224     symbol->accept(*this);
   224   }
   225   }
       
   226   s4o.print(")");
       
   227   wanted_variablegeneration = expression_vg;
       
   228   return NULL;
       
   229 */
       
   230   symbol->accept(*this);
       
   231   s4o.print(",");
       
   232   if (type_is_complex) {
       
   233     wanted_variablegeneration = complextype_suffix_vg;
       
   234     symbol->accept(*this);
       
   235   }
       
   236   s4o.print(",");
       
   237   wanted_variablegeneration = expression_vg;
       
   238   print_check_function(type, value, fb_value);
   225   s4o.print(")");
   239   s4o.print(")");
   226   wanted_variablegeneration = expression_vg;
   240   wanted_variablegeneration = expression_vg;
   227   return NULL;
   241   return NULL;
   228 }
   242 }
   229 
   243