about summary refs log tree commit diff
path: root/src/ast/Ast.ml
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2024-07-08 23:59:31 +0200
committerMalte Voos <git@mal.tc>2024-07-08 23:59:31 +0200
commit3cf472b13c9b329b711a5c254fc6f89268a99eda (patch)
treef04d63e829246924d1c8f808a06af8ad1ff9d327 /src/ast/Ast.ml
parent66cf5d3c5fff84a1cac333c1aa81a8e1f21ee6f4 (diff)
downloadtoytt-3cf472b13c9b329b711a5c254fc6f89268a99eda.tar.gz
toytt-3cf472b13c9b329b711a5c254fc6f89268a99eda.zip
implement argument lists for top-level definitions
Diffstat (limited to 'src/ast/Ast.ml')
-rw-r--r--src/ast/Ast.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/Ast.ml b/src/ast/Ast.ml
index 5952977..bbf3e93 100644
--- a/src/ast/Ast.ml
+++ b/src/ast/Ast.ml
@@ -32,6 +32,7 @@ and expr = raw_expr Asai.Range.located
 type item =
   | Def of {
       name : ident;
+      args : arg List.t;
       tp : expr;
       tm : expr;
     }