Mercurial > hg-old > index.cgi
comparison lwasm/symbol.c @ 374:d99322ef6f21
Stage 1: actually do output
author | lost@starbug |
---|---|
date | Sat, 24 Apr 2010 14:15:18 -0600 |
parents | 6b33faa21a0a |
children | fbb7bfed8076 |
comparison
equal
deleted
inserted
replaced
373:8f9d72cfb897 | 374:d99322ef6f21 |
---|---|
106 se -> context = context; | 106 se -> context = context; |
107 se -> version = version; | 107 se -> version = version; |
108 se -> flags = flags; | 108 se -> flags = flags; |
109 se -> value = lw_expr_copy(val); | 109 se -> value = lw_expr_copy(val); |
110 se -> symbol = lw_strdup(sym); | 110 se -> symbol = lw_strdup(sym); |
111 se -> section = cl -> csect; | |
111 return se; | 112 return se; |
112 } | 113 } |
113 | 114 |
114 // for "SET" symbols, always returns the LAST definition of the | 115 // for "SET" symbols, always returns the LAST definition of the |
115 // symbol. This works because the lwasm_reduce_expr() call in | 116 // symbol. This works because the lwasm_reduce_expr() call in |