mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
warnings: do a line break before enabled/disabled note
We need to create a separate paragraph if the help text had used \c anyway. Putting the enabled/disabled separately for all entries makes it read a lot cleaner anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
7ad824be7a
commit
bef71a86b9
@ -1172,7 +1172,6 @@ is_expression:
|
||||
*! \c KMOV WORD K0,[foo] ; Permitted, WORD K0 specifies instruction size
|
||||
*! \c KMOV K0,WORD [foo] ; Permitted, WORD [foo] specifies instruction size
|
||||
*! \c KMOV K0,[foo] ; Not permitted, instruction size ambiguous
|
||||
*!-
|
||||
*/
|
||||
nasm_warn(WARN_REGSIZE, "invalid register size specification ignored");
|
||||
}
|
||||
|
@ -255,7 +255,7 @@ if ($what eq 'c') {
|
||||
|
||||
@doc = @{$warn->{doc}};
|
||||
if (defined($docdef)) {
|
||||
push(@doc, "$docdef by default.\n");
|
||||
push(@doc, "\n", "\\> $docdef by default.\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user