mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 00:32:24 +00:00
Update bootstrap C source.
This commit is contained in:
parent
9f0cbccf55
commit
19af6d76d3
185 changed files with 334 additions and 340 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* voc 2.00 [2016/11/28]. Bootstrapping compiler for address size 8, alignment 8. xtspaSF */
|
||||
/* voc 2.00 [2016/11/29]. Bootstrapping compiler for address size 8, alignment 8. xtspaSF */
|
||||
|
||||
#define SHORTINT INT8
|
||||
#define INTEGER INT16
|
||||
|
|
@ -250,6 +250,7 @@ static void Modules_DisplayHaltCode (INT32 code)
|
|||
|
||||
void Modules_Halt (INT32 code)
|
||||
{
|
||||
Heap_FINALL();
|
||||
Modules_errstring((CHAR*)"Terminated by Halt(", 20);
|
||||
Modules_errint(code);
|
||||
Modules_errstring((CHAR*)"). ", 4);
|
||||
|
|
@ -262,6 +263,7 @@ void Modules_Halt (INT32 code)
|
|||
|
||||
void Modules_AssertFail (INT32 code)
|
||||
{
|
||||
Heap_FINALL();
|
||||
Modules_errstring((CHAR*)"Assertion failure.", 19);
|
||||
if (code != 0) {
|
||||
Modules_errstring((CHAR*)" ASSERT code ", 14);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue