fixed bugs and added enough runtime to execute first code after the compiler segfaults at shutdown
This commit is contained in:
16
runtime/main.cpp
Normal file
16
runtime/main.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
** Practice runtime for Yab2Cpp
|
||||
**
|
||||
** by Samuel D. Crow
|
||||
*/
|
||||
#include "runtime.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
unsigned int ret=run();
|
||||
if (ret!=EXIT)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user