summaryrefslogtreecommitdiff
path: root/listing.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 21:00:33 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 21:00:33 +0000
commit1cd0e2d5bf50b2cc482cad7beb8f7dee6a81d57b (patch)
tree53de3660be58d806d9de78394b44e95b9e80a55c /listing.c
parentaf535c16cf3f9f628384ec834e3aa325709cb37b (diff)
downloadnasm-1cd0e2d5bf50b2cc482cad7beb8f7dee6a81d57b.tar.gz
nasm-1cd0e2d5bf50b2cc482cad7beb8f7dee6a81d57b.tar.bz2
nasm-1cd0e2d5bf50b2cc482cad7beb8f7dee6a81d57b.zip
NASM 0.98.08
Diffstat (limited to 'listing.c')
-rw-r--r--listing.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/listing.c b/listing.c
index af8a9bf..570e7fb 100644
--- a/listing.c
+++ b/listing.c
@@ -124,7 +124,7 @@ static void list_output (long offset, void *data, unsigned long type)
{
long typ, size;
- if (!listp || suppress)
+ if (!listp || suppress || user_nolist) /* fbk - 9/2/00 */
return;
typ = type & OUT_TYPMASK;
@@ -201,6 +201,10 @@ static void list_line (int type, char *line)
{
if (!listp)
return;
+ if (user_nolist){ /* fbk - 9/2/00 */
+ listlineno++;
+ return;
+ }
if (mistack && mistack->inhibiting)
{