mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue