summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-10-07 21:11:13 -0700
committerH. Peter Anvin <hpa@zytor.com>2019-10-07 21:11:13 -0700
commit58bd8e66443f6f489337723bba2fcc1f2b6e48a1 (patch)
treea7fac95f2bf40bbace851fc6de8e5d9103680252
parent18e87ce7bd64de013e55813a837b38d46252f30d (diff)
downloadnasm-58bd8e66443f6f489337723bba2fcc1f2b6e48a1.tar.gz
warnings.pl: correct the documentation output for aliases
Expand the list of aliases, not the prefix "="!! Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rwxr-xr-xasm/warnings.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/warnings.pl b/asm/warnings.pl
index 1393fd9b..a609e132 100755
--- a/asm/warnings.pl
+++ b/asm/warnings.pl
@@ -95,7 +95,7 @@ sub find_warnings {
}
} elsif ($opr eq '=') {
# Alias names for warnings
- for my $a (split(/,+/, $1)) {
+ for my $a (split(/,+/, $str)) {
add_alias($a, $this);
}
} elsif ($opr =~ /^[\-\s]/) {