Message ID | 1539983272-802-2-git-send-email-martin@martin.st |
---|---|
State | Committed |
Headers | show |
Series |
|
Related | show |
diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index b22ee8a..e7a135d 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -885,7 +885,7 @@ sub handle_serialized_line { my $width = $4; my $target = $5; # Don't interpret e.g. bic as b<cc> with ic as conditional code - if ($cond !~ /^(|$arm_cond_codes)$/) { + if ($cond !~ /^(\s*|$arm_cond_codes)$/) { # Not actually a branch } elsif ($target =~ /^(\d+)([bf])$/) { # The target is a local label