comparison lwasm/main.c @ 345:7416c3f9c321

Basic macro processor ported forward; added context break handling for local symbols
author lost@starbug
date Thu, 25 Mar 2010 23:17:54 -0600
parents 7b4123dce741
children a82c55070624
comparison
equal deleted inserted replaced
344:0215a0fbf61b 345:7416c3f9c321
178 lw_expr_set_var_handler(lwasm_evaluate_var); 178 lw_expr_set_var_handler(lwasm_evaluate_var);
179 179
180 /* initialize assembler state */ 180 /* initialize assembler state */
181 asmstate.include_list = lw_stringlist_create(); 181 asmstate.include_list = lw_stringlist_create();
182 asmstate.input_files = lw_stringlist_create(); 182 asmstate.input_files = lw_stringlist_create();
183 asmstate.nextcontext = 1;
183 184
184 /* parse command line arguments */ 185 /* parse command line arguments */
185 argp_parse(&argp, argc, argv, 0, 0, &asmstate); 186 argp_parse(&argp, argc, argv, 0, 0, &asmstate);
186 187
187 if (!asmstate.output_file) 188 if (!asmstate.output_file)