diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-04 16:19:01 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-04 16:19:01 -0700 |
commit | c44709c964fe3ebccb63eeea6050076ad89cd333 (patch) | |
tree | d9e4d36edf4df28b99cdb316dde5f6897d27ac77 | |
parent | 4964d80fe48582c95b88dd84d8e9d4e5a17c1de2 (diff) | |
download | nasm-c44709c964fe3ebccb63eeea6050076ad89cd333.tar.gz |
preproc: don't call nasm_error_hold_push() twice
We must not call nasm_error_hold_push() twice... the obvious
leak of the error stack caused all kinds of errors to be suppressed.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r-- | asm/preproc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/asm/preproc.c b/asm/preproc.c index 82b3825e..83a61b42 100644 --- a/asm/preproc.c +++ b/asm/preproc.c @@ -5491,7 +5491,6 @@ static Token *expand_smacro_noreset(Token *org_tline) } }; Token **tail = &tline; - errhold = nasm_error_hold_push(); /* * We hold warnings/errors until we are done this this loop. It is |