From 9d2728a5605f651934fe67a6fe6986b3e4a2c011 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 20 Nov 2022 00:07:22 -0500 Subject: add a bunch of code and a ton of stub files for later --- includes/compiler/CFunc.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'includes/compiler/CFunc.h') diff --git a/includes/compiler/CFunc.h b/includes/compiler/CFunc.h index 2247e5e..a0fadad 100644 --- a/includes/compiler/CFunc.h +++ b/includes/compiler/CFunc.h @@ -47,9 +47,19 @@ typedef enum StatementType { } StatementType; enum { - StmtFlag_1 = 1 + StmtFlag_1 = 1, + StmtFlag_8 = 8, + StmtFlag_10 = 0x10 }; +// TODO: move me - ST_BEGINLOOP related? +typedef struct LoopInfo { + int x0; + int x4; + short x8; + Statement *stmt; +} LoopInfo; + struct Statement { Statement *next; StatementType type; -- cgit v1.2.3