From 44cd26f2cebd760a53aa4ff1b7779e718a101650 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 6 Apr 2025 22:45:02 -0400 Subject: Rename Array -> List in all code and docs --- src/ast.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ast.h') diff --git a/src/ast.h b/src/ast.h index aeb418d9..441fde81 100644 --- a/src/ast.h +++ b/src/ast.h @@ -64,7 +64,7 @@ typedef enum { UnknownTypeAST, VarTypeAST, PointerTypeAST, - ArrayTypeAST, + ListTypeAST, SetTypeAST, TableTypeAST, FunctionTypeAST, @@ -93,7 +93,7 @@ struct type_ast_s { } PointerTypeAST; struct { type_ast_t *item; - } ArrayTypeAST; + } ListTypeAST; struct { type_ast_t *key, *value; ast_t *default_value; @@ -134,7 +134,7 @@ typedef enum { RightShiftUpdate, UnsignedRightShiftUpdate, AndUpdate, OrUpdate, XorUpdate, Not, Negative, HeapAllocate, StackReference, Min, Max, - Array, Set, Table, TableEntry, Comprehension, + List, Set, Table, TableEntry, Comprehension, FunctionDef, Lambda, ConvertDef, FunctionCall, MethodCall, Block, @@ -204,7 +204,7 @@ struct ast_s { } Min, Max; struct { ast_list_t *items; - } Array; + } List; struct { ast_list_t *items; } Set; -- cgit v1.2.3