shithub: scc

ref: 99642057a0e6a038dcd4a92500d1a016b137244e
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