diff src/pass1.c @ 42:4bb7b723e5b7

Added pass2 code generation to lwasm_emit()
author lost
date Sun, 04 Jan 2009 06:13:13 +0000
parents 538e15927776
children 2330b88f9600
line wrap: on
line diff
--- a/src/pass1.c	Sat Jan 03 19:50:30 2009 +0000
+++ b/src/pass1.c	Sun Jan 04 06:13:13 2009 +0000
@@ -136,6 +136,9 @@
 			nl -> err = NULL;
 			nl -> fsize = 0;
 			nl -> sym = NULL;
+			nl -> bytes = NULL;
+			nl -> codelen = 0;
+			nl -> codesize = 0;
 			if (as -> linestail)
 				as -> linestail -> next = nl;
 			else