shithub: scc

ref: c990953ff9d588de699e0a19420b5cc2d7e0db51
dir: /main.c/

View raw version

#include <stddef.h>

#include "cc.h"
#include "tokens.h"
#include "syntax.h"

extern void open_file(const char *file);
extern void init_lex();
extern void init_symbol();
struct user_opt user_opt;




int main(int argc, char *argv[])
{
	init_lex();
	init_symbol();
	open_file(NULL);
	for (next(); yytoken != EOFTOK; decl())
		/* nothing */;

	return 0;
}