13 lines
175 B
C
13 lines
175 B
C
#ifndef DIAGNOSTICS_H
|
|
#define DIAGNOSTICS_H
|
|
|
|
typedef struct {
|
|
int line;
|
|
int col;
|
|
const char* file;
|
|
} Loc;
|
|
|
|
void diag_error(Loc loc, const char* fmt, ...);
|
|
|
|
#endif
|