diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-13 22:12:37 -0800 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-13 22:12:37 -0800 |
commit | be99ebd656a6805fbe4d5de8136b5e5a19cf0b3c (patch) | |
tree | a5159e4ebb3b2e5a25f7420e8d2af2e8803bb463 | |
parent | 4229317a5f27aaf2e7a6e75ee2fae54bb23f0fae (diff) | |
download | nasm-be99ebd656a6805fbe4d5de8136b5e5a19cf0b3c.tar.gz |
assemble.c: capitalize LOCK prefix
LOCK is a keyword and not a descriptive term here, capitalize it.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r-- | asm/assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/assemble.c b/asm/assemble.c index 03335eb3..01f4d1bc 100644 --- a/asm/assemble.c +++ b/asm/assemble.c @@ -1418,7 +1418,7 @@ static int64_t calcsize(int32_t segment, int64_t offset, int bits, if (has_prefix(ins, PPS_LOCK, P_LOCK) && lockcheck && (!itemp_has(temp,IF_LOCK) || !is_class(MEMORY, ins->oprs[0].type))) { /*! - *!lock [on] lock prefix on unlockable instructions + *!lock [on] LOCK prefix on unlockable instructions *! warns about \c{LOCK} prefixes on unlockable instructions. */ nasm_warnf(WARN_LOCK | ERR_PASS2 , "instruction is not lockable"); |