Module: gas-preprocessor Branch: master Commit: 4f619e71ce0ce01484f36a3ba4785a10df5c4973
Author: Martin Storsjo <[email protected]> Committer: Martin Storsjo <[email protected]> Date: Sat Oct 14 22:52:40 2017 +0300 Correctly fix labels for armasm even if the lines start with leading space --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index b31a750..8fea432 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -857,7 +857,7 @@ sub handle_serialized_line { $last_temp_labels{$num} = $name; } - if ($line =~ s/^(\w+):/$1/) { + if ($line =~ s/^\s*(\w+):/$1/) { # Skip labels that have already been declared with a PROC, # labels must not be declared multiple times. return if (defined $labels_seen{$1}); _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
