src/Pure/Syntax/syn_trans.ML
changeset 36502 586af36cf3cc
parent 35429 afa8cf9e63d8
child 37216 3165bc303f66
--- a/src/Pure/Syntax/syn_trans.ML	Wed Apr 28 19:43:45 2010 +0200
+++ b/src/Pure/Syntax/syn_trans.ML	Thu Apr 29 11:00:32 2010 +0200
@@ -567,14 +567,7 @@
           Term.list_comb (term_of ast, map term_of asts)
       | term_of (ast as Ast.Appl _) = raise Ast.AST ("ast_to_term: malformed ast", [ast]);
 
-    val free_fixed = Term.map_aterms
-      (fn t as Const (c, T) =>
-          (case try Lexicon.unmark_fixed c of
-            NONE => t
-          | SOME x => Free (x, T))
-        | t => t);
-
-    val exn_results = map (Exn.capture (term_of #> free_fixed)) asts;
+    val exn_results = map (Exn.capture term_of) asts;
     val exns = map_filter Exn.get_exn exn_results;
     val results = map_filter Exn.get_result exn_results
   in (case (results, exns) of ([], exn :: _) => reraise exn | _ => results) end;