[svn r7958] This version doesn't have the wrapping problem in do_link_ent .

This commit is contained in:
aaron 2008-01-18 18:08:48 +01:00
parent 14cfa4ef90
commit a6afc16e6f

@ -517,11 +517,8 @@ sub do_link_ent {
while ((&parse_csv($_))[2] ne $linkent) {
$_ = <CSV>;
chomp;
if ((&parse_csv($_))[4] eq
"last entrance" && (&parse_csv($_))[2] ne $linkent) {
print STDERR "Warning:
Link entrance for $linkname not found, please specify Link
Entrance\n\n";
if ((&parse_csv($_))[4] eq "last entrance" && (&parse_csv($_))[2] ne $linkent) {
print STDERR "Warning: Link entrance for $linkname not found, please specify Link Entrance\n\n";
$warnings = 1;
seek(CSV, $storedoffset, 0);
return;
@ -529,16 +526,8 @@ Entrance\n\n";
}
}
my (undef, undef, undef, undef, undef, undef,
undef, undef, undef, undef, undef, undef, undef, undef, undef, undef,
undef, undef, undef, undef, undef, undef, undef, undef, undef,
$lent_name, $ltag_punkt, $lother_punkt, $ldesc_other_punkt,
$lexact_punkt, $lfix_type, $lgpspresa, $lgpspostsa, $lnorthing,
$leasting, $laltitude, undef, undef, undef, undef, undef, undef,
$lmarking) = &parse_csv($_);
do_ent($ltag_punkt,$lother_punkt,$lexact_punkt,$lgpspostsa,$lgpspresa,$leasting,$lnorthing,$laltitude,$lent_name,$lfix_type,$ldesc_other_punkt,
$lmarking);
my (undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, $lent_name, $ltag_punkt, $lother_punkt, $ldesc_other_punkt, $lexact_punkt, $lfix_type, $lgpspresa, $lgpspostsa, $lnorthing, $leasting, $laltitude, undef, undef, undef, undef, undef, undef, $lmarking) = &parse_csv($_);
do_ent($ltag_punkt,$lother_punkt,$lexact_punkt,$lgpspostsa,$lgpspresa,$leasting,$lnorthing,$laltitude,$lent_name,$lfix_type,$ldesc_other_punkt, $lmarking);
seek(CSV, $storedoffset, 0);
return;
}