diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-25 01:38:01 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-25 01:38:01 +0330 |
commit | e55d45bac0bbd3039118bffa7e6aaf01c04b991a (patch) | |
tree | 111bf667a2786fd593d05f5e562e1edc87c343fc /src/compiler/ast-tree.h | |
parent | 81c83f4233dba3851333cb69ab9727659e253d1b (diff) |
add bitwise not and xor or
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index ff8529e..6891e29 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -29,7 +29,11 @@ typedef enum AstTreeToken { AST_TREE_TOKEN_BUILTIN_PUTC, AST_TREE_TOKEN_BUILTIN_C_LIBRARY, AST_TREE_TOKEN_BUILTIN_C_FUNCTION, - AST_TREE_TOKEN_BUILTIN_END = AST_TREE_TOKEN_BUILTIN_C_FUNCTION, + AST_TREE_TOKEN_BUILTIN_BITWISE_NOT, + AST_TREE_TOKEN_BUILTIN_BITWISE_AND, + AST_TREE_TOKEN_BUILTIN_BITWISE_XOR, + AST_TREE_TOKEN_BUILTIN_BITWISE_OR, + AST_TREE_TOKEN_BUILTIN_END = AST_TREE_TOKEN_BUILTIN_BITWISE_OR, AST_TREE_TOKEN_KEYWORD_RETURN, AST_TREE_TOKEN_KEYWORD_BREAK, @@ -107,6 +111,10 @@ typedef enum AstTreeToken { AST_TREE_TOKEN_OPERATOR_LOGICAL_AND, AST_TREE_TOKEN_OPERATOR_LOGICAL_OR, AST_TREE_TOKEN_OPERATOR_ARRAY_ACCESS, + AST_TREE_TOKEN_OPERATOR_BITWISE_NOT, + AST_TREE_TOKEN_OPERATOR_BITWISE_AND, + AST_TREE_TOKEN_OPERATOR_BITWISE_XOR, + AST_TREE_TOKEN_OPERATOR_BITWISE_OR, AST_TREE_TOKEN_SCOPE, |