let size1 = countvar c var in
countterm size1 s) current_size l in
countterm size1 t
- | A.Ident(s,None) -> current_size + (String.length s)
- | A.Ident(s,Some l) ->
+ | A.Ident (s,None)
+ | A.Uri (s, None) -> current_size + (String.length s)
+ | A.Ident (s,Some l)
+ | A.Uri (s,Some l) ->
List.fold_left
(fun c (v,t) -> countterm (c + (String.length v)) t)
(current_size + (String.length s)) l
make_defs "let rec" vars in
Box.V(make_attributes [Some "helm","xref"] [xref],
definitions@[ast2box ~tail body])
- | A.Ident (s, subst) ->
+ | A.Ident (s, subst)
+ | A.Uri (s, subst) ->
let subst =
let rec make_substs start_txt =
function
| A.Symbol (name,_) ->
let attr = make_std_attributes xref in
P.Mi (attr,name)
- | A.Ident (name,subst) ->
+ | A.Ident (name,subst)
+ | A.Uri (name,subst) ->
let attr = make_std_attributes xref in
let rec make_subst =
(function