From: Claudio Sacerdoti Coen Date: Wed, 12 Jul 2006 12:09:46 +0000 (+0000) Subject: GrafiteAst.Search_pat and GrafiteAst.Search_term (both unused) removed. X-Git-Tag: 0.4.95@7852~1223 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=805644c92f4e1a8750be9ba088a8c242d28042c9;p=helm.git GrafiteAst.Search_pat and GrafiteAst.Search_term (both unused) removed. --- diff --git a/components/grafite/grafiteAst.ml b/components/grafite/grafiteAst.ml index 73ae34584..6c6b3786f 100644 --- a/components/grafite/grafiteAst.ml +++ b/components/grafite/grafiteAst.ml @@ -104,16 +104,10 @@ type 'term macro = | WLocate of loc * string | WElim of loc * 'term (* real macros *) -(* | Abort of loc *) | Print of loc * string | Check of loc * 'term | Hint of loc | Quit of loc -(* | Redo of loc * int option - | Undo of loc * int option *) -(* | Print of loc * print_kind *) - | Search_pat of loc * search_kind * string (* searches with string pattern *) - | Search_term of loc * search_kind * 'term (* searches with term pattern *) (** To be increased each time the command type below changes, used for "safe" * marshalling *) diff --git a/components/grafite/grafiteAstPp.ml b/components/grafite/grafiteAstPp.ml index b95df8d36..c5bbe8f19 100644 --- a/components/grafite/grafiteAstPp.ml +++ b/components/grafite/grafiteAstPp.ml @@ -182,10 +182,6 @@ let pp_macro ~term_pp = (* real macros *) | Check (_, term) -> sprintf "Check %s" (term_pp term) | Hint _ -> "hint" - | Search_pat (_, kind, pat) -> - sprintf "search %s \"%s\"" (pp_search_kind kind) pat - | Search_term (_, kind, term) -> - sprintf "search %s %s" (pp_search_kind kind) (term_pp term) | Print (_, name) -> sprintf "Print \"%s\"" name | Quit _ -> "Quit" diff --git a/components/grafite_parser/grafiteDisambiguate.ml b/components/grafite_parser/grafiteDisambiguate.ml index b02d57e67..396d169e7 100644 --- a/components/grafite_parser/grafiteDisambiguate.ml +++ b/components/grafite_parser/grafiteDisambiguate.ml @@ -327,6 +327,4 @@ let disambiguate_macro | GrafiteAst.WLocate _ as macro -> metasenv,macro | GrafiteAst.Quit _ - | GrafiteAst.Print _ - | GrafiteAst.Search_pat _ - | GrafiteAst.Search_term _ -> assert false + | GrafiteAst.Print _ -> assert false diff --git a/matita/matitaScript.ml b/matita/matitaScript.ml index 5674063e9..a6842d832 100644 --- a/matita/matitaScript.ml +++ b/matita/matitaScript.ml @@ -291,8 +291,6 @@ let rec eval_macro include_paths (buffer : GText.buffer) guistuff lexicon_status (* TODO *) | TA.Quit _ -> failwith "not implemented" | TA.Print (_,kind) -> failwith "not implemented" - | TA.Search_pat (_, search_kind, str) -> failwith "not implemented" - | TA.Search_term (_, search_kind, term) -> failwith "not implemented" and eval_executable include_paths (buffer : GText.buffer) guistuff lexicon_status grafite_status user_goal unparsed_text skipped_txt nonskipped_txt