equal
deleted
inserted
replaced
409 handle ERROR msg => ("error: " ^ msg, SH_ERROR) |
409 handle ERROR msg => ("error: " ^ msg, SH_ERROR) |
410 |
410 |
411 fun thms_of_name ctxt name = |
411 fun thms_of_name ctxt name = |
412 let |
412 let |
413 val lex = Keyword.get_lexicons |
413 val lex = Keyword.get_lexicons |
414 val get = maps (ProofContext.get_fact ctxt o fst) |
414 val get = maps (Proof_Context.get_fact ctxt o fst) |
415 in |
415 in |
416 Source.of_string name |
416 Source.of_string name |
417 |> Symbol.source |
417 |> Symbol.source |
418 |> Token.source {do_recover=SOME false} lex Position.start |
418 |> Token.source {do_recover=SOME false} lex Position.start |
419 |> Token.source_proper |
419 |> Token.source_proper |