mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
warnings.pl: add back formatting for group alias lists
Add back proper formatting for the list of warnings represented by a group alias. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
f7163e343c
commit
beabb3ccb7
@ -244,7 +244,8 @@ if ($what eq 'c') {
|
||||
"prefixed by \\c{$pfx-}; currently\n");
|
||||
# Just commas is bad grammar to be sure, but it is more
|
||||
# legible than the alternative.
|
||||
push(@doc, join(scalar(@plist) < 3 ? ' and ' : ',', @plist).".\n");
|
||||
push(@doc, join(scalar(@plist) < 3 ? ' and ' : ', ',
|
||||
map { "\\c{$_}" } @plist).".\n");
|
||||
} elsif ($pfx ne $warn->{name}) {
|
||||
my $awarn = $aliases{$warn->{name}};
|
||||
@doc = ($awarn->{help}."\n\n",
|
||||
|
Loading…
Reference in New Issue
Block a user