shithub: scc

ref: 56e56694ff267c2294b3ab20e9a60c05ed9cdf47
dir: /cc1/main.c/

View raw version

#include <inttypes.h>
#include <stdio.h>

#include "../inc/cc.h"
#include "cc1.h"

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

struct user_opt options;

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

	return 0;
}