shithub: scc

ref: eb09f99efa9107704d1903abe8aa69fe9d298b3a
dir: /cc.h/

View raw version
#ifndef CC_H
#define CC_H

extern unsigned linenum;
extern unsigned columnum;
extern const char *filename;

struct {
	unsigned implicit_int : 1;
	unsigned c99 : 1;
} user_opt;


extern void warning(const char *fmt, ...);
extern void error(const char *fmt, ...);
extern void die(const char *fmt, ...);
extern void warning_error(char flag, const char *fmt, ...);
#endif