summaryrefslogtreecommitdiff
path: root/mbld/types.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/types.myr')
-rw-r--r--mbld/types.myr36
1 files changed, 20 insertions, 16 deletions
diff --git a/mbld/types.myr b/mbld/types.myr
index 90d1d0c..03c822a 100644
--- a/mbld/types.myr
+++ b/mbld/types.myr
@@ -16,16 +16,12 @@ pkg bld =
arch : byte[:]
;;
-
- type depgraph = struct
- roots : byte[:][:]
- deps : std.htab(byte[:], byte[:][:])#
- libs : std.htab(byte[:], byte[:][:])#
- input : std.htab(byte[:], byte[:])#
- sources : std.htab(byte[:], bool)#
- updated : std.htab(byte[:], bool)#
- seen : std.htab(byte[:], bool)#
- done : std.htab(byte[:], bool)#
+ type targ = union
+ `Bin myrtarg#
+ `Lib myrtarg#
+ `Test myrtarg#
+ `Gen gentarg#
+ `Man mantarg#
;;
type myrtarg = struct
@@ -49,11 +45,19 @@ pkg bld =
done : bool
;;
- type targ = union
- `Bin myrtarg#
- `Lib myrtarg#
- `Test myrtarg#
- `Gen gentarg#
- `Man byte[:][:]
+ type mantarg = struct
+ dir : byte[:]
+ pages : byte[:][:]
+ ;;
+
+ type depgraph = struct
+ roots : byte[:][:]
+ deps : std.htab(byte[:], byte[:][:])#
+ libs : std.htab(byte[:], byte[:][:])#
+ input : std.htab(byte[:], byte[:])#
+ sources : std.htab(byte[:], bool)#
+ updated : std.htab(byte[:], bool)#
+ seen : std.htab(byte[:], bool)#
+ done : std.htab(byte[:], bool)#
;;
;;