Skip to content

Commit bb3a51e

Browse files
author
H. Peter Anvin
committed
warnings: remove stray whitespace before warning specification
The actual warning specification should begin immediately after *!. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
1 parent 19e1f4b commit bb3a51e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

asm/assemble.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1723,7 +1723,7 @@ static int64_t calcsize(insn *ins, const struct itemplate * const temp)
17231723
case 0320:
17241724
is_o16:
17251725
{
1726-
/*! prefix-opsize [on] invalid operand size prefix
1726+
/*!prefix-opsize [on] invalid operand size prefix
17271727
*! warns that an operand prefix (\c{o16}, \c{o32}, \c{o64},
17281728
*! \c{osp}) invalid for the specified instruction has been specified.
17291729
*! The operand prefix will be ignored by the assembler.

asm/stdscan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ static int stdscan_token(struct tokenval *tv)
318318
int token_type = nasm_token_hash(tv->t_charptr, tv);
319319

320320
if (unlikely(tv->t_flag & TFLAG_WARN)) {
321-
/*! ptr [on] non-NASM keyword used in other assemblers
321+
/*!ptr [on] non-NASM keyword used in other assemblers
322322
*! warns about keywords used in other assemblers that
323323
*! might indicate a mistake in the source code.
324324
*! Currently only the MASM \c{PTR} keyword is

0 commit comments

Comments
 (0)