shithub: scc

ref: d65e66829ce3e79ffb92fd58675f5e655561a37a
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 run(struct node *np);
struct user_opt options;



int
main(int argc, char *argv[])
{
	struct node *np;

	init_keywords();
	open_file(NULL);
	for (next(); yytoken != EOFTOK; run(np))
		np = decl(0);

	return 0;
}