From dfac394ecac9058b538cdfcb0596feea668e0ca9 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Tue, 3 Oct 2023 20:54:13 -0400 Subject: [PATCH] we don't support vendor name as a flag. --- scripts/dict/format.pl | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/scripts/dict/format.pl b/scripts/dict/format.pl index 3051e2a9b5..2b2cca246d 100755 --- a/scripts/dict/format.pl +++ b/scripts/dict/format.pl @@ -197,20 +197,7 @@ while (@ARGV) { my $value = $2; my $type = $3; - my $stuff = $4; - - # - # See if it's old format, with the vendor at the end of - # the line. If so, make it the new format. - # - if (defined $vendor && $stuff =~ /$vendor/) { - if ($begin_vendor == 0) { - push @output, "BEGIN-VENDOR\t$vendor\n\n"; - $begin_vendor = 1; - } - $stuff =~ s/$vendor//; - $stuff =~ s/\s+$//; - } + my $refs = $4; # # The numerical value doesn't start with ".". @@ -231,7 +218,7 @@ while (@ARGV) { # } # } - push @output, "ATTRIBUTE\t$name$tabs$value\t$type$stuff\n"; + push @output, "ATTRIBUTE\t$name$tabs$value\t$type$refs\n"; next; } -- 2.47.3