diff lwasm/lwasm.c @ 24:421d7ceb4d86

Fixed missing return value
author lost@l-w.ca
date Mon, 24 Jan 2011 18:31:07 -0700
parents c80e5a063967
children 7e92484cfbc3
line wrap: on
line diff
--- a/lwasm/lwasm.c	Sat Jan 22 21:13:09 2011 -0700
+++ b/lwasm/lwasm.c	Mon Jan 24 18:31:07 2011 -0700
@@ -671,7 +671,7 @@
 			if (l -> csect == NULL)
 			{
 				lwasm_register_error(l -> as, l, "Instruction generating output outside of a section");
-				return;
+				return -1;
 			}
 			
 			if (size == 4)