- On any `ErrnoException` exit with exit code `-2`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-04-12 09:01:47 +02:00
parent 4d457c2eb3
commit 3830dd45bc
1 changed files with 4 additions and 0 deletions

View File

@ -168,6 +168,7 @@ struct compileCommand
{
/* TODO: Use gogga error */
writeln("Could not open source file "~sourceFile);
exit(-2);
}
}
}
@ -215,6 +216,7 @@ struct lexCommand
{
/* TODO: Use gogga error */
writeln("Could not open source file "~sourceFile);
exit(-2);
}
}
}
@ -263,6 +265,7 @@ struct parseCommand
{
/* TODO: Use gogga error */
writeln("Could not open source file "~sourceFile);
exit(-2);
}
}
}
@ -313,6 +316,7 @@ struct typecheckCommand
{
/* TODO: Use gogga error */
writeln("Could not open source file "~sourceFile);
exit(-2);
}
}
}