aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ast.h b/ast.h
index c9db9061..9c9d107c 100644
--- a/ast.h
+++ b/ast.h
@@ -71,7 +71,7 @@ typedef enum {
UnknownTypeAST,
VarTypeAST,
PointerTypeAST,
- ArrayTypeAST,
+ ListTypeAST,
SetTypeAST,
TableTypeAST,
FunctionTypeAST,
@@ -101,7 +101,7 @@ struct type_ast_s {
} PointerTypeAST;
struct {
type_ast_t *item;
- } ArrayTypeAST;
+ } ListTypeAST;
struct {
type_ast_t *key, *value;
ast_t *default_value;
@@ -129,7 +129,7 @@ typedef enum {
BinaryOp, UpdateAssign,
Not, Negative, HeapAllocate, StackReference, Mutexed, Holding,
Min, Max,
- Array, Set, Table, TableEntry, Comprehension,
+ List, Set, Table, TableEntry, Comprehension,
FunctionDef, Lambda, ConvertDef,
FunctionCall, MethodCall,
Block,
@@ -206,7 +206,7 @@ struct ast_s {
struct {
type_ast_t *item_type;
ast_list_t *items;
- } Array;
+ } List;
struct {
type_ast_t *item_type;
ast_list_t *items;