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:
H. Peter Anvin (Intel) 2020-06-05 13:19:45 -07:00
parent cc27f60fb0
commit f7fadcd245

View File

@ -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))) {
/*