X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_cic_content%2Finterpretations.ml;h=47b1ac0630ed7814bd7ad989e790cfbc5a29b35c;hb=d9a1ff8259a7882caa0ffd27282838c00a34cab5;hp=741cfa64043e919c5b87b2331604da0012a7176c;hpb=98de36f4ccd98bdd9b49f396608e6f2600a23d3a;p=helm.git diff --git a/matita/components/ng_cic_content/interpretations.ml b/matita/components/ng_cic_content/interpretations.ml index 741cfa640..47b1ac063 100644 --- a/matita/components/ng_cic_content/interpretations.ml +++ b/matita/components/ng_cic_content/interpretations.ml @@ -639,16 +639,16 @@ let nmap_obj0 status ~idref (_, _, metasenv, subst, kind) = n, is_ind, ty, List.map (build_constractor lno context) cl in match kind with - | NCic.Constant (_, n, xbo, ty, (_, flavour, pragma)) -> + | NCic.Constant (_, n, xbo, ty, attrs) -> let ty = nast_of_cic ~context:[] ty in let xbo = match xbo with | Some bo -> Some (nast_of_cic ~context:[] bo) | None -> None in - N.Theorem (flavour, n, ty, xbo, pragma) - | NCic.Inductive (is_ind, lno, itl, (_, `Regular)) -> + N.Theorem (n, ty, xbo, attrs) + | NCic.Inductive (is_ind, lno, itl, (src, `Regular)) -> let captures, context = build_captures lno itl in - N.Inductive (captures, List.map (build_inductive is_ind lno context) itl) + N.Inductive (captures, List.map (build_inductive is_ind lno context) itl, src) | _ -> assert false (* NCic.Fixpoint (is_rec, ifl, _) -> *) let nmap_obj status = with_idrefs nmap_obj0 status