diff -r 0de89da92ee0 -r 845ca626db09 plcopen/structures.py --- a/plcopen/structures.py Wed Aug 16 17:27:58 2017 +0300 +++ b/plcopen/structures.py Thu Aug 17 09:55:39 2017 +0300 @@ -233,11 +233,11 @@ decl_tpl = Function_decl["outputs"][0] Function_decl["outputs"] = [(decl_tpl[0], outype, decl_tpl[2])] if funcdeclname_orig.endswith('*'): - funcdeclout = funcdeclin + '_' + outype + funcdeclout = funcdeclin + '_' + outype else: - funcdeclout = funcdeclin + funcdeclout = funcdeclin else: - funcdeclout = funcdeclin + funcdeclout = funcdeclin Function_decl["name"] = funcdeclout # apply filter given in "filter" column