diff lwasm/list.c @ 164:586069fb17a1

Actually show errors when no list is requested
author lost
date Sat, 31 Jan 2009 18:12:33 +0000
parents 427e268e876b
children bae1e3ecdce1
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