error: new flag ERR_HERE
commite2f5edbb3a24db347e4f52cdf134402ab987b085
authorH. Peter Anvin <hpa@zytor.com>
Tue, 11 Dec 2018 08:06:29 +0000 (11 00:06 -0800)
committerH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 13 Dec 2018 01:43:25 +0000 (12 17:43 -0800)
tree2e1e18e6565a531b39f88b767d8d8a81f555a3ea
parentc0b32a36503e5dd3e109c8c2b40a8c2081111430
error: new flag ERR_HERE

ERR_HERE is used to mark messages of the form "... here" so that we
can emit sane output to the list file with filename and line number,
instead of a nonsensical "here" which could point almost anywhere.

This patch contains some changes from the one in the master branch to
make the code cleaner.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
asm/labels.c
asm/listing.c
asm/listing.h
asm/nasm.c
asm/preproc.c
include/error.h