summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..1adb55f
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,21 @@
1#include "gamebuilder.h"
2#include "parser.tab.h"
3
4typedef void *yyscan_t;
5void yylex_init( yyscan_t * );
6void yylex_destroy( yyscan_t );
7void yyparse( yyscan_t, GameBuilder &bld );
8
9int main( int argc, char *argv[] )
10{
11 yyscan_t scanner;
12
13 GameBuilder bld;
14
15 yylex_init( &scanner );
16 yyparse( scanner, bld );
17 yylex_destroy( scanner );
18
19 return 0;
20}
21