Fix up comments & messages, add Release Notes
This commit is contained in:
@@ -103,8 +103,8 @@ sub ParseDBD {
|
||||
unquote($1, $2, $3, $4);
|
||||
my $rtyp = $dbd->recordtype($record_type);
|
||||
if (!defined $rtyp) {
|
||||
my $msg = "Device '$choice' defined for unknown record type '$record_type'.";
|
||||
dieContext($msg, "DBD files must be added in the correct order.")
|
||||
my $msg = "Device '$choice' refers to unknown record type '$record_type'.";
|
||||
dieContext($msg, "DBD files must be combined in the correct order.")
|
||||
unless $allowAutoDeclarations;
|
||||
warn "$msg\nRecord type '$record_type' declared.\n";
|
||||
$rtyp = DBD::Recordtype->new($record_type);
|
||||
|
||||
@@ -31,7 +31,7 @@ my @path = map { split /[:;]/ } @opt_I; # FIXME: Broken on Win32?
|
||||
|
||||
my ($file, $subname, $bldTop) = @ARGV;
|
||||
|
||||
# Permit auto-declaration of record types for building runtime-loadable modules
|
||||
# Auto-declaration of record types is needed to build loadable modules
|
||||
$DBD::Parser::allowAutoDeclarations = 1;
|
||||
|
||||
my $dbd = DBD->new();
|
||||
|
||||
Reference in New Issue
Block a user