stage4/generate_c/st_code_gen.c
changeset 153 6aed920024f9
parent 149 05ca171a3d57
child 154 9114afe1f64b
equal deleted inserted replaced
152:efc510145ab2 153:6aed920024f9
 14415             if (IN_param_value == NULL)
 14415             if (IN_param_value == NULL)
 14416               IN_param_value = function_call_param_iterator.next();
 14416               IN_param_value = function_call_param_iterator.next();
 14417             symbol_c *IN_type_symbol = search_expression_type->get_type(IN_param_value);
 14417             symbol_c *IN_type_symbol = search_expression_type->get_type(IN_param_value);
 14418             last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN_type_symbol, last_type_symbol) : IN_type_symbol ;
 14418             last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN_type_symbol, last_type_symbol) : IN_type_symbol ;
 14419             
 14419             
 14420             if(search_expression_type->is_num_type(IN_type_symbol))
 14420             
 14421             {
 14421             {
 14422         
 14422         
 14423                 function_name = (symbol_c*)(new pragma_c("__move_"));
 14423                 function_name = (symbol_c*)(new pragma_c("__move_"));
 14424                 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in)
 14424                 ADD_PARAM_LIST(IN_param_value, IN_type_symbol, function_param_iterator_c::direction_in)
 14425                 symbol_c * return_type_symbol = last_type_symbol;
 14425                 symbol_c * return_type_symbol = last_type_symbol;