diff --git a/aqua.cpp b/aqua.cpp index d0157f8..e7f7a2e 100644 --- a/aqua.cpp +++ b/aqua.cpp @@ -188,7 +188,7 @@ inline void errorlog(vector line, int linenum, int errorcode) if (linenum + 2 < line.size()) co(to_string(linenum + 3) + "| " + line[linenum + 2]); - exit(errorcode); + exit(-1); #pragma endregion } diff --git a/aqua.obj b/aqua.obj index 71a3fc6..fe09af2 100644 Binary files a/aqua.obj and b/aqua.obj differ diff --git a/bin/x64/aqua.exe b/bin/x64/aqua.exe index e7364d0..f8f5f24 100644 Binary files a/bin/x64/aqua.exe and b/bin/x64/aqua.exe differ diff --git a/main.aqua b/main.aqua index 43eb5c1..e8c23da 100644 --- a/main.aqua +++ b/main.aqua @@ -60,4 +60,6 @@ if : end if outf : -! true \ No newline at end of file +! true + +throw \ No newline at end of file