shithub: scc

ref: 1145b68f8535abf344d36cf9cd4d4f1283f42aa6
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