From 4db750bbf03c9d7c18291fc63b7cf23cf966d6c8 Mon Sep 17 00:00:00 2001 From: thing1 Date: Mon, 8 Jul 2024 11:36:32 +0100 Subject: i forgot to commit last time i think --- comp/lucas-standen-NEA/code/proto/astg.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 comp/lucas-standen-NEA/code/proto/astg.h (limited to 'comp/lucas-standen-NEA/code/proto/astg.h') diff --git a/comp/lucas-standen-NEA/code/proto/astg.h b/comp/lucas-standen-NEA/code/proto/astg.h deleted file mode 100644 index 16250b2..0000000 --- a/comp/lucas-standen-NEA/code/proto/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); -- cgit v1.2.3