OSDN Git Service

expression.c, stream.c, textfile.txt, token.cの追加
[gleam-language/alpha.git] / toplev.c
1 #include "common.h"
2
3 /*
4 * toplev.c      --glent entry point
5
6 * Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
7
8 * This source code is released on the BSD licensing.
9
10 */
11
12 int compile_file(const char *fname)
13 {
14         return 0;
15 }
16
17 int toplev_main(int argc, const char** argv)
18 {
19         int i;
20
21         for(i = 1; i < argc; i++)
22         {
23                 printf("Compiling %s ...\n", argv[i]);
24                 compile_file(argv[i]);
25         }
26
27         getchar();
28         return 0;
29 }
30
31