listing: preserve list file on error, include errors
commita23aa4a3e931b0333336406d6b2b30b96c24507d
authorH. Peter Anvin <hpa@zytor.com>
Tue, 7 Jul 2009 19:04:12 +0000 (7 12:04 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 7 Jul 2009 19:04:12 +0000 (7 12:04 -0700)
treee5e2a94eb9077a54e97c0fdd04c68080f6205b46
parent5bc87609d214255d4ecdf3285d1b26e7df7dbc56
listing: preserve list file on error, include errors

Instead of removing the list file on error, keep the list file and
include the errors in the list file.  This makes it actually possible
to debug things that involve deep macro recursion, where the line
number is pretty much meaningless.

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