comparison lwasm/pass1.c @ 236:a58f49a77441

Added os9 target, pragma to control whether $ localizes a symbol, and fixed some condition nesting bugs
author lost
date Fri, 14 Aug 2009 03:22:26 +0000
parents bae1e3ecdce1
children f9f01a499525
comparison
equal deleted inserted replaced
235:aa0056ca7319 236:a58f49a77441
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 as -> nextcontext = 1;
167
168 as -> inmod = 0;
167 169
168 debug_message(1, "Entering pass 1"); 170 debug_message(1, "Entering pass 1");
169 if (lwasm_read_file(as, as -> infile) < 0) 171 if (lwasm_read_file(as, as -> infile) < 0)
170 { 172 {
171 fprintf(stderr, "Error reading input file '%s'", as -> infile); 173 fprintf(stderr, "Error reading input file '%s'", as -> infile);