diff lwlink/trunk/src/main.c @ 115:776d8bea5b46

implement reading files
author lost
date Sun, 18 Jan 2009 04:53:57 +0000
parents c65fcec346cd
children bb3cc989e84b
line wrap: on
line diff
--- a/lwlink/trunk/src/main.c	Sat Jan 17 20:54:58 2009 +0000
+++ b/lwlink/trunk/src/main.c	Sun Jan 18 04:53:57 2009 +0000
@@ -112,6 +112,8 @@
 	"LWLINK, a HD6309 and MC6809 cross-linker"
 };
 
+extern void read_files(void);
+
 // main function; parse command line, set up assembler state, and run the
 // assembler on the first file
 int main(int argc, char **argv)
@@ -122,6 +124,9 @@
 		fprintf(stderr, "No input files\n");
 		exit(1);
 	}
+
+	// read the input files
+	read_files();
 	
 	exit(0);
 }