#pragma once

#include <string>

struct FilePos
{
	std::string file;
	int line;
};

#define ERR_LVL_WARNING 0
#define ERR_LVL_ERROR 1

void PrintErrorMsg(const FilePos &, int level, const char *fmt, ...);
