summaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-27 16:10:47 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-27 16:13:24 +0330
commit7a8b8ff4bee2373e1e0f3b2b1837dc25041e1a1d (patch)
tree38331ef33be27a4867ed5171768fdd42787b66aa /src/compiler/ast-tree.h
parent64331c144518b8ab1c3cf08473771e0d3f14f67b (diff)
clean up
removed print hello world
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index 8a7617d..a557a1f 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -6,8 +6,9 @@
typedef enum AstTreeToken {
AST_TREE_TOKEN_FUNCTION,
- AST_TREE_TOKEN_KEYWORD_PRINT,
+
AST_TREE_TOKEN_KEYWORD_PRINT_U64,
+
AST_TREE_TOKEN_TYPE_FUNCTION,
AST_TREE_TOKEN_TYPE_VOID,
AST_TREE_TOKEN_FUNCTION_CALL,
@@ -108,8 +109,8 @@ AstTree *astTreeParseIdentifier(ParserNode *parserNode,
size_t variables_size);
AstTree *astTreeParsePrintU64(ParserNode *parserNode,
- AstTreeVariables *variables,
- size_t variables_size);
+ AstTreeVariables *variables,
+ size_t variables_size);
bool hasTypeOf(AstTree *value, AstTree *type);
bool typeIsEqual(AstTree *type0, AstTree *type1);