Mercurial > hg-old > index.cgi
comparison lwasm/section.c @ 374:d99322ef6f21
Stage 1: actually do output
author | lost@starbug |
---|---|
date | Sat, 24 Apr 2010 14:15:18 -0600 |
parents | 34dfc9747f23 |
children | cc154dc614fe |
comparison
equal
deleted
inserted
replaced
373:8f9d72cfb897 | 374:d99322ef6f21 |
---|---|
201 // after the parse pass is complete | 201 // after the parse pass is complete |
202 e = lw_alloc(sizeof(exportlist_t)); | 202 e = lw_alloc(sizeof(exportlist_t)); |
203 e -> next = as -> exportlist; | 203 e -> next = as -> exportlist; |
204 e -> symbol = lw_strdup(sym); | 204 e -> symbol = lw_strdup(sym); |
205 e -> line = l; | 205 e -> line = l; |
206 e -> se = NULL; | |
206 as -> exportlist = e; | 207 as -> exportlist = e; |
207 lw_free(sym); | 208 lw_free(sym); |
208 | 209 |
209 if (after && **p == ',') | 210 if (after && **p == ',') |
210 { | 211 { |