# HG changeset patch # User Manuele Conti # Date 1354139484 -3600 # Node ID 2779f4a5f305c64a32e7793c2a9ef8520456084c # Parent 7b52623a2f3740da32dd55d3ff0f9af852f41c94 Fix struct generic_function_call_t initialize style. diff -r 7b52623a2f37 -r 2779f4a5f305 stage3/fill_candidate_datatypes.cc --- a/stage3/fill_candidate_datatypes.cc Sat Dec 01 11:30:16 2012 +0000 +++ b/stage3/fill_candidate_datatypes.cc Wed Nov 28 22:51:24 2012 +0100 @@ -1817,14 +1817,15 @@ else ERROR; generic_function_call_t fcall_param = { - /* fcall_param.function_name = */ symbol->function_name, - /* fcall_param.nonformal_operand_list = */ symbol->nonformal_param_list, - /* fcall_param.formal_operand_list = */ symbol->formal_param_list, - /* enum {POU_FB, POU_function} POU_type = */ generic_function_call_t::POU_function, - /* fcall_param.candidate_functions = */ symbol->candidate_functions, - /* fcall_param.called_function_declaration = */ symbol->called_function_declaration, - /* fcall_param.extensible_param_count = */ symbol->extensible_param_count + function_name: symbol->function_name, + nonformal_operand_list: symbol->nonformal_param_list, + formal_operand_list: symbol->formal_param_list, + POU_type: generic_function_call_t::POU_function, + candidate_functions: symbol->candidate_functions, + called_function_declaration: symbol->called_function_declaration, + extensible_param_count: symbol->extensible_param_count }; + handle_function_call(symbol, fcall_param); if (debug) std::cout << "function_invocation_c [" << symbol->candidate_datatypes.size() << "] result.\n";