diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-07-05 02:16:13 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-07-05 02:16:13 -0700 |
commit | 5b7369d7e0e256684bc92ab2ec8a822d9eb32e32 (patch) | |
tree | 2d486e40cbde368ec73650967df17ac5353b5acf /include | |
parent | 87a832e391ccf5a24dc70ceec1e13d94df16968e (diff) | |
download | nasm-5b7369d7e0e256684bc92ab2ec8a822d9eb32e32.tar.gz |
Make debug info and error messages correctly reflect macros and reps
1. Error messages would issue with the line number of %endrep.
2. Debug line information would ignore both macros and reps.
This is doubly wrong; macros are semantically equivalent to
inline functions, and it is expected that debuggers trace
into these functions.
These changes finishes the last parts of moving all responsibility for
the listing enable/disable into the preprocessor, so remove the
way over-complicated macro inhibit facility from the listing module
entirely.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/nasm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/nasm.h b/include/nasm.h index 91dc9e6f..616ffb37 100644 --- a/include/nasm.h +++ b/include/nasm.h @@ -428,7 +428,6 @@ static inline char *nasm_skip_identifier(const char *str) enum { LIST_READ, LIST_MACRO, - LIST_MACRO_NOLIST, LIST_INCLUDE, LIST_INCBIN, LIST_TIMES |