removed MLtrans, MLtext;
authorwenzelm
Tue, 06 May 1997 12:55:07 +0200
changeset 3110 dfc1d659f968
parent 3109 d95748813188
child 3111 00fb015d27aa
removed MLtrans, MLtext;
src/Pure/Thy/thy_parse.ML
--- a/src/Pure/Thy/thy_parse.ML	Tue May 06 12:51:23 1997 +0200
+++ b/src/Pure/Thy/thy_parse.ML	Tue May 06 12:55:07 1997 +0200
@@ -244,7 +244,7 @@
   | ident_no_colon _ ((k, s, n) :: _) =
       syn_err (name_of_kind Ident) (quote s) n;
 
-(*Type used in types, consts and syntax sections*)
+(*type used in types, consts and syntax sections*)
 fun const_type allow_comma toks =
   let val simple_type =
         (ident ||
@@ -345,16 +345,6 @@
   "(parse_ast_translation, parse_translation, \
   \print_translation, print_ast_translation)";
 
-fun mk_mltrans txt =
-  "let\n"
-  ^ trfun_defs ^ "\n"
-  ^ txt ^ "\n\
-  \in\n\
-  \ " ^ trfun_args ^ "\n\
-  \end";
-
-val mltrans = verbatim >> mk_mltrans;
-
 
 (* axioms *)
 
@@ -551,8 +541,6 @@
   section "consts" "|> add_consts" const_decls,
   section "syntax" "|> add_modesyntax" syntax_decls,
   section "translations" "|> add_trrules" trans_decls,
-  section "MLtrans" "|> add_trfuns" mltrans,
-  section "MLtext" "" verbatim,
   axm_section "rules" "|> add_axioms" axiom_decls,
   axm_section "defs" "|> add_defs" axiom_decls,
   axm_section "constdefs" "|> add_consts" constaxiom_decls,