summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-05 02:16:13 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-05 02:16:13 -0700
commit5b7369d7e0e256684bc92ab2ec8a822d9eb32e32 (patch)
tree2d486e40cbde368ec73650967df17ac5353b5acf /include
parent87a832e391ccf5a24dc70ceec1e13d94df16968e (diff)
downloadnasm-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.h1
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