diff options
author | H. Peter Anvin <hpa@zytor.com> | 2019-08-09 22:31:45 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2019-08-09 22:31:45 -0700 |
commit | ab6f8319552f17d269a5bf2facea48ea1c338b71 (patch) | |
tree | 77f41f8eb26c872d5a884c21308824ce154baa85 /asm/preproc-nop.c | |
parent | ad1f50a50694b31539db5a24b0c2bc1090855094 (diff) | |
download | nasm-ab6f8319552f17d269a5bf2facea48ea1c338b71.tar.gz |
listing: when listing lines in macros and rep blocks, show the actual line
When printing lines coming from %rep blocks and macros, show the line
number corresponding to the line actually being printed.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'asm/preproc-nop.c')
-rw-r--r-- | asm/preproc-nop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/preproc-nop.c b/asm/preproc-nop.c index 575896ed..a9a46b0f 100644 --- a/asm/preproc-nop.c +++ b/asm/preproc-nop.c @@ -128,7 +128,7 @@ static char *nop_getline(void) break; } - lfmt->line(LIST_READ, buffer); + lfmt->line(LIST_READ, src_get_linnum(), buffer); return buffer; } |