changeset 164:586069fb17a1

Actually show errors when no list is requested
author lost
date Sat, 31 Jan 2009 18:12:33 +0000
parents 2e6a1e914104
children 566943f98f8d
files lwasm/list.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/list.c	Sat Jan 31 16:15:05 2009 +0000
+++ b/lwasm/list.c	Sat Jan 31 18:12:33 2009 +0000
@@ -53,7 +53,7 @@
 	char *p;
 	
 	if (!as -> listfile)
-		return;
+		goto showerr;
 	if (as -> listfile[0] == '-' && as -> listfile[1] == '\0')
 		lf = stdout;
 	else