Specifically if we encounter the PTR keyword
commit69550eac55056ab1fac7bdc1b01da0e68418cd6f
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 9 May 2016 19:05:56 +0000 (9 12:05 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 9 May 2016 19:05:56 +0000 (9 12:05 -0700)
treea43485c755aff0b816410d76dbe6c4295419feee
parent934f0478d409bced70ba1660512d4839cd76c571
Specifically if we encounter the PTR keyword

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>
nasm.c
nasm.h
nasmlib.h
stdscan.c
test/ptr.asm [new file with mode: 0644]
tokens.dat