summaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: 1adb55faaa4b3a6c2861ac68181d73ad2da77f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "gamebuilder.h"
#include "parser.tab.h"

typedef void *yyscan_t;
void yylex_init( yyscan_t * );
void yylex_destroy( yyscan_t );
void yyparse( yyscan_t, GameBuilder &bld );

int main( int argc, char *argv[] )
{
	yyscan_t scanner;

	GameBuilder bld;

	yylex_init( &scanner );
	yyparse( scanner, bld );
	yylex_destroy( scanner );

	return 0;
}