Add unimplemented and unreachable procedures; make os.exit a diverging procedure

This commit is contained in:
gingerBill
2018-10-13 13:19:52 +01:00
parent 73e9dbbf8c
commit 42b42db675
5 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ getenv :: proc(name: string) -> (string, bool) {
return string(cstr), true;
}
exit :: inline proc(code: int) {
exit :: inline proc(code: int) -> ! {
_unix_exit(code);
}