Files
highground-fork/src/error.h

16 lines
354 B
C++

#ifndef ERROR_H
#define ERROR_H
#include <string>
namespace Solstice {
namespace Error {
void syntaxError(std::string what, int line = 0, std::string lineContent = "");
void typingError(std::string what, int line = 0, std::string lineContent = "");
void summariseErrors();
extern int amountOfErrors;
}
}
#endif