Mercurial > hg-old > index.cgi
diff src/main.c @ 297:c52ad3135bd3
implement reading files
author | lost |
---|---|
date | Sun, 18 Jan 2009 04:53:57 +0000 |
parents | 14d835cf02d9 |
children | 460d96987670 |
line wrap: on
line diff
--- a/src/main.c Sat Jan 17 20:54:58 2009 +0000 +++ b/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); }