shithub: scc

ref: cd53c9b23ec34490e3f34a155a6d5bce8fdc53d1
dir: /main.c/

View raw version

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

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

extern 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;
}