Working on making sure functions return a value

This commit is contained in:
2021-05-05 16:11:49 +02:00
parent 287bf565bd
commit 835cae35bb
3 changed files with 11 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ static bool raised = false;
void error_raise(const char* msg) {
if (!raised) {
raised = true;
sprintf(errormsg, "ERROR AT SOURCE:%s at %d:%d.", msg, tkn_get_line() + 1, tkn_get_row() + 1);
sprintf(errormsg, "ERROR AT SOURCE:%s at %d:%d.\n", msg, tkn_get_line() + 1, tkn_get_row() + 1);
}
}