aboutsummaryrefslogtreecommitdiff
path: root/src/boot/fe
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/fe')
-rw-r--r--src/boot/fe/ast.ml6
-rw-r--r--src/boot/fe/item.ml2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/boot/fe/ast.ml b/src/boot/fe/ast.ml
index 79ff2c7c..3ea89171 100644
--- a/src/boot/fe/ast.ml
+++ b/src/boot/fe/ast.ml
@@ -452,14 +452,12 @@ and mod_view =
view_exports: (export, unit) Hashtbl.t;
}
-and meta = (ident * string) array
-
-and meta_pat = (ident * string option) array
+and meta_pat = (string * string option) array
and crate' =
{
crate_items: (mod_view * mod_items);
- crate_meta: meta;
+ crate_meta: Session.meta;
crate_auth: (name, effect) Hashtbl.t;
crate_required: (node_id, (required_lib * nabi_conv)) Hashtbl.t;
crate_required_syms: (node_id, string) Hashtbl.t;
diff --git a/src/boot/fe/item.ml b/src/boot/fe/item.ml
index a47fca5a..287fbb41 100644
--- a/src/boot/fe/item.ml
+++ b/src/boot/fe/item.ml
@@ -758,7 +758,7 @@ and parse_meta_pat (ps:pstate) : Ast.meta_pat =
bracketed_zero_or_more LPAREN RPAREN
(Some COMMA) parse_meta_input ps
-and parse_meta (ps:pstate) : Ast.meta =
+and parse_meta (ps:pstate) : Session.meta =
Array.map
begin
fun (id,v) ->