forked from solstice/solstice
Refactor type system, print all errors in file
This commit is contained in:
@@ -5,9 +5,11 @@
|
||||
|
||||
namespace Solstice {
|
||||
namespace Error {
|
||||
[[noreturn]] void syntaxError(std::string what, int line = 0, std::string lineContent = "");
|
||||
[[noreturn]] void typingError(std::string what, int line = 0, std::string lineContent = "");
|
||||
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
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user