summaryrefslogtreecommitdiff
path: root/src/ast_defs.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast_defs.ml')
-rw-r--r--src/ast_defs.ml8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ast_defs.ml b/src/ast_defs.ml
index 0ce71618..f6b83c2c 100644
--- a/src/ast_defs.ml
+++ b/src/ast_defs.ml
@@ -50,4 +50,10 @@
open Ast
-type 'a ast = Defs of 'a def list
+type 'a ast = {
+ defs : 'a def list
+ }
+
+let empty_ast = {
+ defs = []
+ }