summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/ctrlact.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ctrlact.pl b/scripts/ctrlact.pl
index aa9dcfb..da39804 100644
--- a/scripts/ctrlact.pl
+++ b/scripts/ctrlact.pl
@@ -432,14 +432,14 @@ sub load_mappings {
my $nrcols = 4;
if ($version eq $VERSION) {
- # current version
+ # current version, i.e. no special handling is required. If
+ # previous versions require special handling, then massage the
+ # data or do whatever is required in the following
+ # elsif-clauses:
}
elsif ($version eq "1.0") {
$nrcols = 3;
}
- else {
- croak "Unsupported version found in $filename: $version"
- }
my $linesplitter = '^\s*'.join('\s+', ('(\S+)') x $nrcols).'\s*$';
my $l = 1;
while (<$fh>) {