diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index c92d1fdc..83a239ec 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 662, + BUILD_REVISION => 663, BUILD_DATE => "2014-06-20", }; diff --git a/modules/c2english/CGrammar.pm b/modules/c2english/CGrammar.pm index a9b171dc..48b20894 100644 --- a/modules/c2english/CGrammar.pm +++ b/modules/c2english/CGrammar.pm @@ -1118,13 +1118,8 @@ parameter_list: } elsif (@list == 1) { $return .= $list[0]; } else { - my $identifier; - if(grep { /function.*returning/ } @list) { - push @list, shift @list; - $identifier = shift @list; - } else { - $identifier = pop @list; - } + push @list, shift @list; + my $identifier = shift @list; $return .= "$identifier as "; $return .= join(' ', @list); }