Skip to content
Snippets Groups Projects

Adding check for duplicate non-case-sensitive part names that could cause...

2 unresolved threads
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -765,11 +765,11 @@ for($kk=0;$kk<$partCnt;$kk++)
if ( 0+@duplicates > 0) #If we found 1 or more issues
{
my @whole_error = "ERROR - Some part(s) failed the duplicate name check." .
"Two parts, that generate code, with the same name (but diffrent capitalization) were found. " .
my $whole_error = "ERROR - Some part(s) failed the duplicate name check. " .
"Two parts, that generate code, with the same name (but diffrent capitalization) were found.\n" .
"This can cause an issue with code generation, please rename one of the parts, from each pair.\n";
@whole_error = @whole_error . join('', @{$duplicates});
die @whole_error;
$whole_error = $whole_error . join('', @duplicates);
die $whole_error;
}
print "Total parts to process $ftotal\n";
Loading