about summary refs log tree commit diff
path: root/boot/tree.c
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-12-28 23:54:51 +0100
committerMel <mel@rnrd.eu>2025-12-28 23:54:51 +0100
commit57878200dda049cf7d6f11c9ede6936d184649cb (patch)
tree2fb5514036b763ba8400e2d98c6f12e20c8da24f /boot/tree.c
parent0e08695d031ebb2e00a13582a75e1f27c2d6c73a (diff)
downloadcatskill-57878200dda049cf7d6f11c9ede6936d184649cb.tar.zst
catskill-57878200dda049cf7d6f11c9ede6936d184649cb.zip
Expand bootstrap common library with generic Array and more String utility functions
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/tree.c')
-rw-r--r--boot/tree.c4
1 files changed, 2 insertions, 2 deletions
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;