stage4/generate_c/generate_c_inlinefcall.cc
changeset 885 b2604fc6d25c
parent 874 b8fa360b376d
child 945 477393b00f95
equal deleted inserted replaced
880:599e88d12f9a 885:b2604fc6d25c
   279       else if (vartype == search_var_instance_decl_c::located_vt)
   279       else if (vartype == search_var_instance_decl_c::located_vt)
   280         s4o.print(SET_LOCATED);
   280         s4o.print(SET_LOCATED);
   281       else
   281       else
   282         s4o.print(SET_VAR);
   282         s4o.print(SET_VAR);
   283       s4o.print("(,");
   283       s4o.print("(,");
   284 
   284 /*
   285       wanted_variablegeneration = complextype_base_vg;
   285       wanted_variablegeneration = complextype_base_vg;
   286       symbol->accept(*this);
   286       symbol->accept(*this);
   287       s4o.print(",");
   287       s4o.print(",");
   288       wanted_variablegeneration = expression_vg;
   288       wanted_variablegeneration = expression_vg;
   289       print_check_function(type, value, NULL, true);
   289       print_check_function(type, value, NULL, true);
   290       if (analyse_variable_c::contains_complex_type(symbol)) {
   290       if (analyse_variable_c::contains_complex_type(symbol)) {
   291         s4o.print(",");
   291         s4o.print(",");
   292         wanted_variablegeneration = complextype_suffix_vg;
   292         wanted_variablegeneration = complextype_suffix_vg;
   293         symbol->accept(*this);
   293         symbol->accept(*this);
   294       }
   294       }
       
   295       s4o.print(")");
       
   296       wanted_variablegeneration = expression_vg;
       
   297       return NULL;
       
   298 */
       
   299       wanted_variablegeneration = complextype_base_vg;
       
   300       symbol->accept(*this);
       
   301       s4o.print(",");
       
   302       if (analyse_variable_c::contains_complex_type(symbol)) {
       
   303         wanted_variablegeneration = complextype_suffix_vg;
       
   304         symbol->accept(*this);
       
   305       }
       
   306       s4o.print(",");
       
   307       wanted_variablegeneration = expression_vg;
       
   308       print_check_function(type, value, NULL, true);
   295       s4o.print(")");
   309       s4o.print(")");
   296       wanted_variablegeneration = expression_vg;
   310       wanted_variablegeneration = expression_vg;
   297       return NULL;
   311       return NULL;
   298     }
   312     }
   299 
   313