stage4/generate_c/generate_c_st.cc
changeset 240 f78fa87bb4cb
parent 238 0919986a5c98
child 258 d7d92b2f87e9
equal deleted inserted replaced
239:b3063ca418c1 240:f78fa87bb4cb
   873     /* now output the value assignment */
   873     /* now output the value assignment */
   874     if (param_value != NULL)
   874     if (param_value != NULL)
   875       if ((param_direction == function_param_iterator_c::direction_out) ||
   875       if ((param_direction == function_param_iterator_c::direction_out) ||
   876           (param_direction == function_param_iterator_c::direction_inout)) {
   876           (param_direction == function_param_iterator_c::direction_inout)) {
   877         symbol_c *param_type = search_varfb_instance_type->get_rawtype(param_value);
   877         symbol_c *param_type = search_varfb_instance_type->get_rawtype(param_value);
       
   878         s4o.print(";\n" + s4o.indent_spaces);
   878         if (this->is_variable_prefix_null()) {
   879         if (this->is_variable_prefix_null()) {
   879           param_value->accept(*this);
   880           param_value->accept(*this);
   880           s4o.print(" = ");
   881           s4o.print(" = ");
   881           print_check_function(param_type, param_name, symbol->fb_name);
   882           print_check_function(param_type, param_name, symbol->fb_name);
   882         }
   883         }