equal
deleted
inserted
replaced
334 val code_reflect_cmd = gen_code_reflect Code_Target.read_tyco Code.read_const; |
334 val code_reflect_cmd = gen_code_reflect Code_Target.read_tyco Code.read_const; |
335 |
335 |
336 |
336 |
337 (** Isar setup **) |
337 (** Isar setup **) |
338 |
338 |
339 val _ = ML_Context.add_antiq "code" (fn _ => Args.term >> ml_code_antiq); |
339 val _ = |
|
340 Context.>> (Context.map_theory |
|
341 (ML_Context.add_antiq (Binding.name "code") (fn _ => Args.term >> ml_code_antiq))); |
340 |
342 |
341 local |
343 local |
342 |
344 |
343 val datatypesK = "datatypes"; |
345 val datatypesK = "datatypes"; |
344 val functionsK = "functions"; |
346 val functionsK = "functions"; |