Fix early report_error(); avoid nuisance phase warnings
commit48ef41957ad199eff524ed8d39b4fe27d844e80c
authorH. Peter Anvin <hpa@zytor.com>
Thu, 2 Jul 2009 05:12:59 +0000 (1 22:12 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 2 Jul 2009 05:12:59 +0000 (1 22:12 -0700)
treeda3ed4433e59f50e61c2125d36934ea5b14d37d5
parentd3544ff534be7dcdf92e40d03d9601d816016420
Fix early report_error(); avoid nuisance phase warnings

Fix report_error() to (hopefully) not fault if used without ERR_NOFILE
if no filename is available.

Avoid nuisance phase error between passes warnings if we have detected
other errors.  In those case, the phase error is almost certainly
spurious.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
nasm.c