Update C bootstrap sources

This commit is contained in:
David Brown 2016-11-27 16:49:12 +00:00
parent 6a7cba23a7
commit c630f86399
185 changed files with 310 additions and 245 deletions

View file

@ -1,4 +1,4 @@
/* voc 2.00 [2016/11/25]. Bootstrapping compiler for address size 8, alignment 8. xtspaSF */
/* voc 2.00 [2016/11/27]. Bootstrapping compiler for address size 8, alignment 8. xtspaSF */
#define SHORTINT INT8
#define INTEGER INT16
@ -269,7 +269,11 @@ void Modules_AssertFail (INT32 code)
Modules_errstring((CHAR*)".", 2);
}
Modules_errstring(Platform_NL, 3);
Platform_Exit(code);
if (code > 0) {
Platform_Exit(code);
} else {
Platform_Exit(-1);
}
}
__TDESC(Modules_ModuleDesc, 1, 2) = {__TDFLDS("ModuleDesc", 64), {0, 32, -24}};