comparison src/pass1.c @ 58:b1d81800bc91

Added symbol listing to list file; various fixes
author lost
date Mon, 05 Jan 2009 00:20:45 +0000
parents 360d53062bb9
children d5fe306f1ab1
comparison
equal deleted inserted replaced
57:035b95a3690f 58:b1d81800bc91
161 161
162 void lwasm_pass1(asmstate_t *as) 162 void lwasm_pass1(asmstate_t *as)
163 { 163 {
164 as -> passnum = 1; 164 as -> passnum = 1;
165 as -> addr = 0; 165 as -> addr = 0;
166 as -> nextcontext = 1;
166 167
167 debug_message(1, "Entering pass 1"); 168 debug_message(1, "Entering pass 1");
168 if (lwasm_read_file(as, as -> infile) < 0) 169 if (lwasm_read_file(as, as -> infile) < 0)
169 { 170 {
170 fprintf(stderr, "Error reading input file '%s'", as -> infile); 171 fprintf(stderr, "Error reading input file '%s'", as -> infile);