Fix the error message format so they work again with the latest Xcode.

This commit is contained in:
Jeremy Rand 2019-07-19 15:31:57 -05:00
parent 8a578abf08
commit 05c15ce006

View File

@ -35,7 +35,7 @@ while (<FILE>) {
$file =~ s/\.s$/.c/; $file =~ s/\.s$/.c/;
} }
$_ = "$pwd/$file:$lineno:0: Error: $unresolvedRefError"; $_ = "$pwd/$file:$lineno:0: error: $unresolvedRefError";
} else { } else {
$unresolvedRefError = undef; $unresolvedRefError = undef;
} }
@ -49,7 +49,7 @@ while (<FILE>) {
my $lineno = $2; my $lineno = $2;
my $error = $3; my $error = $3;
$_ = "$pwd/$file:$lineno:0:$error"; $_ = "$pwd/$file:$lineno:0: error: $error";
} }
print STDERR "$_\n"; print STDERR "$_\n";
} }