Merge branch 'develop' into pyext

pull/335/head
A. R. Shajii 2023-01-29 14:15:28 -05:00
commit 509ea3839e
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ void compilationError(const std::string &msg, const std::string &file, int line,
void compilationWarning(const std::string &msg, const std::string &file, int line,
int col, int len, int errorCode, bool terminate,
MessageGroupPos pos) {
compilationMessage("\033[1;33mwarning:\033[0m", msg, file, line, col, errorCode, len,
compilationMessage("\033[1;33mwarning:\033[0m", msg, file, line, col, len, errorCode,
pos);
if (terminate)
exit(EXIT_FAILURE);

View File

@ -158,11 +158,11 @@ enum MessageGroupPos {
};
void compilationError(const std::string &msg, const std::string &file = "",
int line = 0, int col = 0, int len = 0, int erroCode = -1,
int line = 0, int col = 0, int len = 0, int errorCode = -1,
bool terminate = true, MessageGroupPos pos = NONE);
void compilationWarning(const std::string &msg, const std::string &file = "",
int line = 0, int col = 0, int len = 0, int erroCode = -1,
int line = 0, int col = 0, int len = 0, int errorCode = -1,
bool terminate = false, MessageGroupPos pos = NONE);
} // namespace codon