src/Pure/Syntax/syntax_phases.ML
changeset 42296 dcc08f2a8671
parent 42295 8fdbb3b10beb
child 42298 d622145603ee
--- a/src/Pure/Syntax/syntax_phases.ML	Fri Apr 08 20:39:09 2011 +0200
+++ b/src/Pure/Syntax/syntax_phases.ML	Fri Apr 08 21:03:20 2011 +0200
@@ -667,6 +667,8 @@
         val Const (c', _) = ProofContext.read_const_proper ctxt false c;
         val d = if intern then Lexicon.mark_const c' else c;
       in Ast.Constant d end
+  | const_ast_tr intern ctxt [Ast.Appl [Ast.Constant "_constrain", x, T]] =
+      Ast.Appl [Ast.Constant "_constrain", const_ast_tr intern ctxt [x], T]
   | const_ast_tr _ _ asts = raise Ast.AST ("const_ast_tr", asts);