error: add ERR_TOPFILE
commit7a6bf74d025fa6c961e4fc8292330f09f2be2778
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 20 Dec 2017 19:54:31 +0000 (20 11:54 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 20 Dec 2017 20:10:13 +0000 (20 12:10 -0800)
tree5b1ed38c513b3315c5bbeef1283cf5657a7cd350
parent883985def55f9adf63009cea372023753b3b0b54
error: add ERR_TOPFILE

Add ERR_TOPFILE, for cases where displaying the current file and line
are completely inappropriate.  Instead, display the main input file,
or, if not available, the output file.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
asm/nasm.c
include/error.h