summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code/proto/ast/astg.h
diff options
context:
space:
mode:
authorthing1 <thing1@seacrossedlovers.xyz>2024-07-01 11:36:45 +0100
committerthing1 <thing1@seacrossedlovers.xyz>2024-07-01 11:36:45 +0100
commitd933ce70bd2c497e4af26483abafebfce436986e (patch)
treeb15f4f2c297734108ff0717334b912b87a0f995b /comp/lucas-standen-NEA/code/proto/ast/astg.h
parent42047fea26b14edc67b394db18ce7edb0c6399f8 (diff)
updated work
Diffstat (limited to 'comp/lucas-standen-NEA/code/proto/ast/astg.h')
-rw-r--r--comp/lucas-standen-NEA/code/proto/ast/astg.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/comp/lucas-standen-NEA/code/proto/ast/astg.h b/comp/lucas-standen-NEA/code/proto/ast/astg.h
deleted file mode 100644
index 16250b2..0000000
--- a/comp/lucas-standen-NEA/code/proto/ast/astg.h
+++ /dev/null
@@ -1,19 +0,0 @@
-typedef struct ast_node ast_node;
-
-typedef enum op {
- ADD = 0,
- SUB = 1,
- MUL = 2,
- DIV = 3,
-} op;
-
-typedef struct ast_node {
- op operation;
- int realLeft;
- int realRight;
- ast_node *right;
- ast_node *left;
-} ast_node;
-
-int exec(ast_node *exp);
-void freeAst(ast_node *head);