diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-13 19:39:41 -0800 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-13 19:42:38 -0800 |
commit | 6bde2ed8806b3e53657d46b61ee79d7afe5c2e13 (patch) | |
tree | 116b747e03890c86b964ce3f50c9cc1e74aba912 /include/nasm.h | |
parent | 9f89eb38fc0e7566b8a35408b36d7c900ab5d046 (diff) | |
download | nasm-6bde2ed8806b3e53657d46b61ee79d7afe5c2e13.tar.gz |
errors: change the severity parameter from "int" to "errflags"
Change the severity parameter to the error function from "int" to an
unsigned typedef, currently uint32_t.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'include/nasm.h')
-rw-r--r-- | include/nasm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/nasm.h b/include/nasm.h index f259d063..08474135 100644 --- a/include/nasm.h +++ b/include/nasm.h @@ -53,6 +53,7 @@ #include "opflags.h" #include "regs.h" #include "srcfile.h" +#include "error.h" /* Time stamp for the official start of compilation */ struct compile_time { @@ -368,7 +369,7 @@ struct preproc_ops { void (*include_path)(struct strlist *ipath); /* Unwind the macro stack when printing an error message */ - void (*error_list_macros)(int severity); + void (*error_list_macros)(errflags severity); }; extern const struct preproc_ops nasmpp; |