comparison src/pass1.c @ 26:d2e86babd958

Added error tracking infrastructure
author lost
date Fri, 02 Jan 2009 02:38:02 +0000
parents b704f7ffc8ba
children f736579569b4
comparison
equal deleted inserted replaced
25:3b818f05dc2a 26:d2e86babd958
128 nl -> text = lwasm_strdup(linebuff); 128 nl -> text = lwasm_strdup(linebuff);
129 nl -> lineno = lineno++; 129 nl -> lineno = lineno++;
130 nl -> filename = fnref; 130 nl -> filename = fnref;
131 nl -> next = NULL; 131 nl -> next = NULL;
132 nl -> prev = as -> linestail; 132 nl -> prev = as -> linestail;
133 nl -> err = NULL;
133 if (as -> linestail) 134 if (as -> linestail)
134 as -> linestail -> next = nl; 135 as -> linestail -> next = nl;
135 else 136 else
136 as -> linestail = nl; 137 as -> linestail = nl;
137 if (!(as -> lineshead)) 138 if (!(as -> lineshead))