diff src/lwasm.c @ 143:0ee5f65bccf9

Added pragma to allow all undefined symbols to be considered external and also added a --pragma command line option
author lost
date Thu, 29 Jan 2009 01:32:11 +0000
parents f59c0916753d
children
line wrap: on
line diff
--- a/src/lwasm.c	Wed Jan 28 06:06:05 2009 +0000
+++ b/src/lwasm.c	Thu Jan 29 01:32:11 2009 +0000
@@ -40,6 +40,9 @@
 	char errbuff[1024];
 	int r;
 	
+	if (!l)
+		return;
+
 	if (as -> passnum != pass)
 		return;