From 57878200dda049cf7d6f11c9ede6936d184649cb Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 28 Dec 2025 23:54:51 +0100 Subject: Expand bootstrap common library with generic Array and more String utility functions Signed-off-by: Mel --- boot/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot/tree.c') diff --git a/boot/tree.c b/boot/tree.c index 228bbd4..751cf02 100644 --- a/boot/tree.c +++ b/boot/tree.c @@ -433,7 +433,7 @@ struct Argument_Group_Node struct Expression* arguments; // names of the arguments, if given. // an unnamed argument is represented as an empty string. - struct String_Array argument_names; + Array(struct String) argument_names; }; // a declaration of a variable, constant, or other binding, without a mutability @@ -442,7 +442,7 @@ struct Argument_Group_Node // a bare declaration in a for-loop, for example, is always mutable. struct Bare_Declaration_Node { - struct String_Array names; + Array(struct String) names; struct Expression* initializer; struct Type_Node* type; -- cgit 1.4.1