mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-11 17:10:45 +08:00
Fix missing "here" from error messages
The "here" or "in an unknown location" suffix was inadvertently dropped. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
cc27f60fb0
commit
f7fadcd245
@ -2061,6 +2061,10 @@ static void nasm_issue_error(struct nasm_errtext *et)
|
||||
const char *file = currentfile ? currentfile : no_file_name;
|
||||
const char *here = "";
|
||||
|
||||
if (severity & ERR_HERE) {
|
||||
here = currentfile ? " here" : " in an unknown location";
|
||||
}
|
||||
|
||||
if (warn_list && true_type < ERR_NONFATAL &&
|
||||
!(pass_first() && (severity & ERR_PASS1))) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user