diff lwasm/main.c @ 332:67224d8d1024

Basic input layer works
author lost
date Tue, 02 Mar 2010 00:10:32 +0000
parents 81c005b82775
children 9f58e3bca6e3
line wrap: on
line diff
--- a/lwasm/main.c	Sun Feb 28 05:55:07 2010 +0000
+++ b/lwasm/main.c	Tue Mar 02 00:10:32 2010 +0000
@@ -163,6 +163,8 @@
 main function; parse command line, set up assembler state, and run the 
 assembler on the first file
 */
+extern void do_pass1(asmstate_t *as);
+
 int main(int argc, char **argv)
 {
 	/* assembler state */
@@ -183,5 +185,7 @@
 
 	input_init(&asmstate);
 
+	do_pass1(&asmstate);
+
 	exit(0);
 }