diff options
| author | Mel <mel@rnrd.eu> | 2025-12-28 23:54:51 +0100 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-12-28 23:54:51 +0100 |
| commit | 57878200dda049cf7d6f11c9ede6936d184649cb (patch) | |
| tree | 2fb5514036b763ba8400e2d98c6f12e20c8da24f /boot/tree.c | |
| parent | 0e08695d031ebb2e00a13582a75e1f27c2d6c73a (diff) | |
| download | catskill-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.c | 4 |
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; |
