diff options
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |
