summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm')
-rw-r--r--asm/nasm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/nasm.c b/asm/nasm.c
index 2f6634ef..51a74dfc 100644
--- a/asm/nasm.c
+++ b/asm/nasm.c
@@ -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))) {
/*