Mercurial > hg-old > index.cgi
comparison lwasm/pass1.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 | 7d91ab7ac7d6 |
children | 6b33faa21a0a |
comparison
equal
deleted
inserted
replaced
362:4867f18c872f | 363:d96c30e60ddf |
---|---|
84 cl -> insn = -1; | 84 cl -> insn = -1; |
85 cl -> as = as; | 85 cl -> as = as; |
86 cl -> inmod = as -> inmod; | 86 cl -> inmod = as -> inmod; |
87 cl -> csect = as -> csect; | 87 cl -> csect = as -> csect; |
88 cl -> pragmas = as -> pragmas; | 88 cl -> pragmas = as -> pragmas; |
89 cl -> context = as -> context; | |
89 if (!as -> line_tail) | 90 if (!as -> line_tail) |
90 { | 91 { |
91 as -> line_head = cl; | 92 as -> line_head = cl; |
92 cl -> addr = lw_expr_build(lw_expr_type_int, 0); | 93 cl -> addr = lw_expr_build(lw_expr_type_int, 0); |
93 } | 94 } |