larpcc/diagnostics.h
2026-10-20 01:27:50 +02:00

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