X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fgrafite_engine%2FgrafiteEngine.ml;h=a70e78855b52939c0d1b9f0f36f0899e12fd3072;hb=30bbfa78612ca1ad0c131a75d7075cfd35bebbe1;hp=e96790860618ea0f2d7dbd5174d3ed3ad49397eb;hpb=cd664aefb80554952ed9b010f0c5199ce3a6f8f2;p=helm.git diff --git a/matita/components/grafite_engine/grafiteEngine.ml b/matita/components/grafite_engine/grafiteEngine.ml index e96790860..a70e78855 100644 --- a/matita/components/grafite_engine/grafiteEngine.ml +++ b/matita/components/grafite_engine/grafiteEngine.ml @@ -589,12 +589,13 @@ let rec eval_ncommand ~include_paths opts status (text,prefix_len,cmd) = let status = Interpretations.add_interpretation status dsc (symbol, args) cic_appl_pattern in - let mode = assert false in (* VEDI SOTTO *) + let mode = GrafiteAst.WithPreferences (*assert false*) in (* VEDI SOTTO *) let diff = [DisambiguateTypes.Symbol (symbol, 0), GrafiteAst.Symbol_alias (symbol,0,dsc)] in let status = LexiconEngine.set_proof_aliases status mode diff in - assert false (* MANCA SALVATAGGIO SU DISCO CHE DEVE TENERE IN CONTO + status, [] + (*assert false*) (* MANCA SALVATAGGIO SU DISCO CHE DEVE TENERE IN CONTO IL MODE WithPreference/WithOutPreferences*) | GrafiteAst.Notation (loc, dir, l1, associativity, precedence, l2) -> let l1 = @@ -603,7 +604,7 @@ let rec eval_ncommand ~include_paths opts status (text,prefix_len,cmd) = in let status = if dir <> Some `RightToLeft then - CicNotationParser.extend status l1 + GrafiteParser.extend status l1 (fun env loc -> NotationPt.AttributedTerm (`Loc loc,TermContentPres.instantiate_level2 env l2)) @@ -616,8 +617,8 @@ let rec eval_ncommand ~include_paths opts status (text,prefix_len,cmd) = else status in - assert false (* MANCA SALVATAGGIO SU DISCO *) - status +(* assert false (* MANCA SALVATAGGIO SU DISCO *) *) + status, [] (* capire [] XX *) | GrafiteAst.Alias (loc, spec) -> let diff = (*CSC: Warning: this code should be factorized with the corresponding