src/Pure/Isar/expression.ML
changeset 42290 b1f544c84040
parent 41585 45d7da4e4ccf
child 42357 3305f573294e
equal deleted inserted replaced
42289:dafae095d733 42290:b1f544c84040
   611     else (body, bodyT, Object_Logic.atomize (Thm.cterm_of thy t))
   611     else (body, bodyT, Object_Logic.atomize (Thm.cterm_of thy t))
   612   end;
   612   end;
   613 
   613 
   614 (* achieve plain syntax for locale predicates (without "PROP") *)
   614 (* achieve plain syntax for locale predicates (without "PROP") *)
   615 
   615 
   616 fun aprop_tr' n c = (Syntax.mark_const c, fn ctxt => fn args =>
   616 fun aprop_tr' n c = (Lexicon.mark_const c, fn ctxt => fn args =>
   617   if length args = n then
   617   if length args = n then
   618     Syntax.const "_aprop" $   (* FIXME avoid old-style early externing (!??) *)
   618     Syntax.const "_aprop" $   (* FIXME avoid old-style early externing (!??) *)
   619       Term.list_comb (Syntax.free (Consts.extern (ProofContext.consts_of ctxt) c), args)
   619       Term.list_comb (Syntax.free (Consts.extern (ProofContext.consts_of ctxt) c), args)
   620   else raise Match);
   620   else raise Match);
   621 
   621