diff lwasm/section.c @ 363:d96c30e60ddf

Added pass2 and various supporting logic including symbol lookups
author lost@starbug
date Tue, 06 Apr 2010 21:03:19 -0600
parents 7166254491ed
children 34dfc9747f23
line wrap: on
line diff
--- a/lwasm/section.c	Thu Apr 01 20:56:19 2010 -0600
+++ b/lwasm/section.c	Tue Apr 06 21:03:19 2010 -0600
@@ -202,6 +202,7 @@
 	e = lw_alloc(sizeof(exportlist_t));
 	e -> next = as -> exportlist;
 	e -> symbol = lw_strdup(sym);
+	e -> line = l;
 	as -> exportlist = e;
 	lw_free(sym);