Refactor type system, print all errors in file

This commit is contained in:
2025-12-26 13:28:47 +11:00
parent 24ea348858
commit d8812fa14e
6 changed files with 189 additions and 50 deletions

View File

@@ -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