enabled a newr version of astyle

This commit is contained in:
Nicola Bertoldi 2014-01-15 16:41:19 +01:00
parent 47bece6eac
commit a098550f33

View File

@ -11,8 +11,8 @@ my $version = `astyle --version 2> /dev/stdout`;
chomp($version);
print STDERR "version=$version";
if ($version ne "Artistic Style Version 2.01") {
print STDERR "\nMust be astyle version 2.01. Quitting\n";
if ($version ne "Artistic Style Version 2.01" && $version ne "Artistic Style Version 2.02.1") {
print STDERR "\nMust be astyle version 2.01 or 2.02.1. Quitting\n";
exit(1);
}