comparison src/pass1.c @ 49:21ae0fab469b

Added needed infra for useful listing of EQU and ORG type statements
author lost
date Sun, 04 Jan 2009 07:37:19 +0000
parents b962cee20bf4
children 360d53062bb9
comparison
equal deleted inserted replaced
48:6de358e7903f 49:21ae0fab469b
138 nl -> sym = NULL; 138 nl -> sym = NULL;
139 nl -> bytes = NULL; 139 nl -> bytes = NULL;
140 nl -> codelen = 0; 140 nl -> codelen = 0;
141 nl -> codesize = 0; 141 nl -> codesize = 0;
142 nl -> nocodelen = 0; 142 nl -> nocodelen = 0;
143 nl -> addrset = 0;
144 nl -> symaddr = -1;
143 if (as -> linestail) 145 if (as -> linestail)
144 as -> linestail -> next = nl; 146 as -> linestail -> next = nl;
145 as -> linestail = nl; 147 as -> linestail = nl;
146 if (!(as -> lineshead)) 148 if (!(as -> lineshead))
147 as -> lineshead = nl; 149 as -> lineshead = nl;