diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2017-03-07 21:32:37 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2017-03-07 21:32:37 -0800 |
commit | a6e26d9cca91ee2b008ece9f7298740ed0b2edf6 (patch) | |
tree | a631af93fb92cb0d44fbde23a840d101b857e3c0 /include/error.h | |
parent | bb4524cf9a10419fa241894a742c45f7019d2eda (diff) | |
download | nasm-a6e26d9cca91ee2b008ece9f7298740ed0b2edf6.tar.gz |
Add a generic pragma-handling infrastructure
Add infrastructure for handling %pragmas with a variety of namespaces,
etc., etc...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'include/error.h')
-rw-r--r-- | include/error.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/error.h b/include/error.h index 542b313a..18a50073 100644 --- a/include/error.h +++ b/include/error.h @@ -107,7 +107,10 @@ static inline vefunc nasm_set_verror(vefunc ve) #define ERR_WARN_BND WARN(14) /* bad BND prefixes */ #define ERR_WARN_ZEXTRELOC WARN(15) /* relocation zero-extended */ #define ERR_WARN_PTR WARN(16) /* not a NASM keyword */ -#define ERR_WARN_MAX 16 /* the highest numbered one */ +#define ERR_WARN_BAD_PRAGMA WARN(17) /* malformed pragma */ +#define ERR_WARN_UNKNOWN_PRAGMA WARN(18) /* unknown pragma */ +#define ERR_WARN_NOTMY_PRAGMA WARN(19) /* pragma inapplicable */ +#define ERR_WARN_MAX 19 /* the highest numbered one */ struct warning { const char *name; |