Mercurial > hg-old > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
41:7eafdb3a8074 | 42:4bb7b723e5b7 |
---|---|
134 nl -> next = NULL; | 134 nl -> next = NULL; |
135 nl -> prev = as -> linestail; | 135 nl -> prev = as -> linestail; |
136 nl -> err = NULL; | 136 nl -> err = NULL; |
137 nl -> fsize = 0; | 137 nl -> fsize = 0; |
138 nl -> sym = NULL; | 138 nl -> sym = NULL; |
139 nl -> bytes = NULL; | |
140 nl -> codelen = 0; | |
141 nl -> codesize = 0; | |
139 if (as -> linestail) | 142 if (as -> linestail) |
140 as -> linestail -> next = nl; | 143 as -> linestail -> next = nl; |
141 else | 144 else |
142 as -> linestail = nl; | 145 as -> linestail = nl; |
143 if (!(as -> lineshead)) | 146 if (!(as -> lineshead)) |