summaryrefslogtreecommitdiff
path: root/includes/compiler/CFunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/compiler/CFunc.h')
-rw-r--r--includes/compiler/CFunc.h12
1 files changed, 11 insertions, 1 deletions
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;