summaryrefslogtreecommitdiff
path: root/include/error.h
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2018-06-27 22:03:01 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2018-06-27 22:03:01 -0700
commit42b9579f90d26d2123036cbab9ca8c20226423d3 (patch)
tree9a7289664befc903f709e7a0be2660061a3121fd /include/error.h
parent4431b268ae7e36096f5ab20bfab0d448ab49f5a3 (diff)
downloadnasm-note.tar.gz
preproc: add new %note directivenote
Add a new %note directive to issue a note into the list file without printing a message. The difference between %note and a comment is that a %note will be issued with single-line macros expanded, and will be issued even if it occurs inside a .nolist macro. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'include/error.h')
-rw-r--r--include/error.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/error.h b/include/error.h
index 139400db..2f21b102 100644
--- a/include/error.h
+++ b/include/error.h
@@ -63,9 +63,10 @@ static inline vefunc nasm_set_verror(vefunc ve)
* argument to an efunc.
*/
-#define ERR_DEBUG 0x00000000 /* put out debugging message */
-#define ERR_WARNING 0x00000001 /* warn only: no further action */
-#define ERR_NONFATAL 0x00000002 /* terminate assembly after phase */
+#define ERR_NOTE 0x00000000 /* note in the list file only */
+#define ERR_DEBUG 0x00000001 /* put out debugging message */
+#define ERR_WARNING 0x00000002 /* warn only: no further action */
+#define ERR_NONFATAL 0x00000003 /* terminate assembly after phase */
#define ERR_FATAL 0x00000006 /* instantly fatal: exit with error */
#define ERR_PANIC 0x00000007 /* internal error: panic instantly
* and dump core for reference */