fixed bugs and added enough runtime to execute first code after the compiler segfaults at shutdown

This commit is contained in:
Samuel D. Crow
2021-03-24 18:17:33 -05:00
parent 7c5bf76778
commit 48505d1ef8
11 changed files with 152 additions and 79 deletions

22
runtime/runtime.h Normal file
View File

@@ -0,0 +1,22 @@
/*
** Practice runtime header for Yab2Cpp
**
** by Samuel D. Crow
*/
#ifndef YAB_RUNTIME
#define YAB_RUTTIME
#include <cstdio>
using namespace std;
enum STATES:unsigned int
{
EXIT,
UNDEFINED_STATE_ERROR,
START
};
/* function prototype */
unsigned int run();
#endif