X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Flexicon%2FlexiconEngine.ml;h=a0792d2281fd09bfc4ecf2fa0d05beb7ddf23327;hb=04950e722ec9191fdd42762cb3d15424ff3f4e90;hp=1e1fe61c05147eef1dd8df67231df4f18ee3b7b1;hpb=81b53ddc3ce92187e62deff483919ca2251fd246;p=helm.git diff --git a/components/lexicon/lexiconEngine.ml b/components/lexicon/lexiconEngine.ml index 1e1fe61c0..a0792d228 100644 --- a/components/lexicon/lexiconEngine.ml +++ b/components/lexicon/lexiconEngine.ml @@ -25,6 +25,10 @@ (* $Id$ *) +let out = ref ignore + +let set_callback f = out := f + (* lexicon file name * ma file name *) exception IncludedFileNotCompiled of string * string exception MetadataNotFound of string (* file name *) @@ -112,6 +116,7 @@ let set_proof_aliases mode status new_aliases = let rec eval_command ?(mode=LexiconAst.WithPreferences) status cmd = + !out cmd; let notation_ids' = CicNotation.process_notation cmd in let status = { status with notation_ids = notation_ids' @ status.notation_ids } in