diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-24 15:19:06 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-24 15:19:06 +0330 |
commit | 79babd7e6c97ead76c7cd6295f01e049d1b28524 (patch) | |
tree | fe03d2c6907211ee2cbed86c31ff4319f09a26f1 /src/runner/runner.c | |
parent | e89f5c93893e5dd969fe39e1aca00ad5bd8b5b7b (diff) |
add code type
Diffstat (limited to 'src/runner/runner.c')
-rw-r--r-- | src/runner/runner.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runner/runner.c b/src/runner/runner.c index b96f1a8..2e8c347 100644 --- a/src/runner/runner.c +++ b/src/runner/runner.c @@ -372,6 +372,7 @@ AstTree *runAstTreeBuiltin(AstTree *tree, AstTreeScope *scope, ret = copyAstTree(variable->type); } goto RETURN; + case AST_TREE_BUILTIN_TOKEN_IMPORT: case AST_TREE_BUILTIN_TOKEN__SIZE__: } UNREACHABLE; @@ -1140,6 +1141,7 @@ AstTree *runExpression(AstTree *expr, AstTreeScope *scope, bool *shouldRet, case AST_TREE_TOKEN_TYPE_F32: case AST_TREE_TOKEN_TYPE_F64: case AST_TREE_TOKEN_TYPE_F128: + case AST_TREE_TOKEN_TYPE_CODE: case AST_TREE_TOKEN_VALUE_NULL: case AST_TREE_TOKEN_VALUE_UNDEFINED: case AST_TREE_TOKEN_VALUE_VOID: |