diff --git a/asm/parser.c b/asm/parser.c index ba5081ac..15cfcdfa 100644 --- a/asm/parser.c +++ b/asm/parser.c @@ -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"); } diff --git a/asm/warnings.pl b/asm/warnings.pl index 7987ab4c..1393fd9b 100755 --- a/asm/warnings.pl +++ b/asm/warnings.pl @@ -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"); } }