about summary refs log tree commit diff
path: root/boot/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/tree.c')
-rw-r--r--boot/tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/tree.c b/boot/tree.c
index 3c808f8..9ea9e6f 100644
--- a/boot/tree.c
+++ b/boot/tree.c
@@ -530,6 +530,9 @@ struct Type_Node
     // it is assigned to, e.g. `x int`, `string y`, etc.
     // this is the name of that binding, for ease of listing.
     struct String value_name;
+    // true if the type is used as a variadic parameter.
+    // e.g. `fun (format string, ...args string)`.
+    bool variadic;
 
     // if type is within a group of multiple types,
     // points to the next type within the group.