shithub: scc

ref: 3134fea3e8d461d77eb23d8f91291e985f28d4ba
dir: /main.c/

View raw version

#include <stddef.h>
#include <stdint.h>

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

extern void extdecl(void), init_keywords(void), open_file(const char *file);

struct user_opt options;

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

	return 0;
}