mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-07 17:46:58 +08:00
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>
This commit is contained in:
parent
4964d80fe4
commit
c44709c964
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user