aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.c')
-rw-r--r--src/ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast.c b/src/ast.c
index b3506058..2d564d98 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -149,7 +149,7 @@ CORD ast_to_xml(ast_t *ast)
T(StackReference, "<StackReference>%r</StackReference>", ast_to_xml(data.value))
T(Min, "<Min>%r%r%r</Min>", ast_to_xml(data.lhs), ast_to_xml(data.rhs), optional_tagged("key", data.key))
T(Max, "<Max>%r%r%r</Max>", ast_to_xml(data.lhs), ast_to_xml(data.rhs), optional_tagged("key", data.key))
- T(Array, "<Array>%r</Array>", ast_list_to_xml(data.items))
+ T(List, "<List>%r</List>", ast_list_to_xml(data.items))
T(Set, "<Set>%r</Set>", ast_list_to_xml(data.items))
T(Table, "<Table>%r%r</Table>",
optional_tagged("default-value", data.default_value),
@@ -224,7 +224,7 @@ CORD type_ast_to_xml(type_ast_t *t)
T(VarTypeAST, "%s", data.name)
T(PointerTypeAST, "<PointerType is_stack=\"%s\">%r</PointerType>",
data.is_stack ? "yes" : "no", type_ast_to_xml(data.pointed))
- T(ArrayTypeAST, "<ArrayType>%r</ArrayType>", type_ast_to_xml(data.item))
+ T(ListTypeAST, "<ListType>%r</ListType>", type_ast_to_xml(data.item))
T(SetTypeAST, "<TableType>%r</TableType>", type_ast_to_xml(data.item))
T(TableTypeAST, "<TableType>%r %r</TableType>", type_ast_to_xml(data.key), type_ast_to_xml(data.value))
T(FunctionTypeAST, "<FunctionType>%r %r</FunctionType>", arg_list_to_xml(data.args), type_ast_to_xml(data.ret))