aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontend/parser.h
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-06-04 13:04:36 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-15 18:04:02 +0300
commitb845e4754be86d2216733d9bea75cb301f38739d (patch)
tree5ba6355d1cb36b1bfaadf82781796b1c42b9202b /src/frontend/parser.h
parent76fc38b3cdfded2911b464baa7b182b5102318d1 (diff)
downloadMEGATRON-b845e4754be86d2216733d9bea75cb301f38739d.tar.gz
added expressions and the if statement
Diffstat (limited to 'src/frontend/parser.h')
-rw-r--r--src/frontend/parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/parser.h b/src/frontend/parser.h
index 74f2ed8..a9f6b89 100644
--- a/src/frontend/parser.h
+++ b/src/frontend/parser.h
@@ -32,7 +32,9 @@ struct AST
};
struct AST_State
{
+ enum AST_Type type;
struct token *name;
+ struct AST_Machine *parent;
size_t number;
};
struct AST_Event