X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FmatitacLib.ml;h=6d01fc460f665ca861d71a96c120d881d648af4d;hb=73a66cce6e72c654fdcd0ce760c405a74af70d08;hp=2c5160572f57e6f873a682d9efed6f7c0aaa9e20;hpb=a7237500e8a2a4237a6ae8ba4b8301f7bbcb6acb;p=helm.git diff --git a/helm/software/matita/matitacLib.ml b/helm/software/matita/matitacLib.ml index 2c5160572..6d01fc460 100644 --- a/helm/software/matita/matitacLib.ml +++ b/helm/software/matita/matitacLib.ml @@ -29,7 +29,7 @@ open Printf open GrafiteTypes -exception AttemptToInsertAnAlias of #LexiconEngine.status +exception AttemptToInsertAnAlias of LexiconEngine.status let slash_n_RE = Pcre.regexp "\\n" ;; @@ -235,7 +235,8 @@ let compile atstart options fname = with | [] -> grafite_status | (g,None)::_ -> g - | (g,Some _)::_ -> raise (AttemptToInsertAnAlias g) + | (g,Some _)::_ -> + raise (AttemptToInsertAnAlias (g :> LexiconEngine.status)) with MatitaEngine.EnrichedWithStatus (GrafiteEngine.Macro (floc, f), grafite) as exn -> match f (get_macro_context (Some grafite)) with