summaryrefslogtreecommitdiff
path: root/nasmlib.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-10 18:27:38 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-10 18:27:38 -0700
commit7df0417e58fa3cad48cc457e7238a4940ffe79bc (patch)
treeddec08db22d7e4c8c64afa4768e3f67bb98ea79f /nasmlib.h
parent3c744855236c9a8d788b3dc6571701482f00a31f (diff)
downloadnasm-7df0417e58fa3cad48cc457e7238a4940ffe79bc.tar.gz
nasm-7df0417e58fa3cad48cc457e7238a4940ffe79bc.tar.bz2
nasm-7df0417e58fa3cad48cc457e7238a4940ffe79bc.zip
Add %warning, saner unquoting of %error
- Add %warning directive - Only unquote an %error or %warning string if it is the only thing on the directive line. - Don't expand macros inside a quoted string, even for %error.
Diffstat (limited to 'nasmlib.h')
-rw-r--r--nasmlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nasmlib.h b/nasmlib.h
index 3fa5127..837d679 100644
--- a/nasmlib.h
+++ b/nasmlib.h
@@ -54,6 +54,7 @@ extern efunc nasm_malloc_error;
#define ERR_NOFILE 0x00000010 /* don't give source file name/line */
#define ERR_USAGE 0x00000020 /* print a usage message */
#define ERR_PASS1 0x00000040 /* only print this error on pass one */
+#define ERR_NO_SEVERITY 0x00000080 /* suppress printing severity */
/*
* These codes define specific types of suppressible warning.