mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
69550eac55
Issue a specific suppressible warning if we encounter the PTR keyword. This usually indicates someone mistakenly using MASM syntax in NASM. This introduces a generic infrastructure for issuing warnings for such keywords. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
5 lines
90 B
NASM
5 lines
90 B
NASM
;; This should warn but still assemble, as the code is correct
|
|
|
|
mov eax,dword ptr
|
|
ptr:
|