src/Pure/ProofGeneral/pgip_isabelle.ML
changeset 23867 743f34b12f67
parent 23799 20f58293fc5e
child 23884 1d39ec4fe73f
equal deleted inserted replaced
23866:5295671034f8 23867:743f34b12f67
    78         val (url,descr) =
    78         val (url,descr) =
    79             (case Position.file_of pos of
    79             (case Position.file_of pos of
    80                NONE => (NONE, NONE)
    80                NONE => (NONE, NONE)
    81              | SOME fname =>
    81              | SOME fname =>
    82                let val path = Path.explode fname in
    82                let val path = Path.explode fname in
    83                  case ThyLoad.check_file NONE path of
    83                  case ThyLoad.check_file [] path of
    84                    SOME _ => (SOME (PgipTypes.pgipurl_of_path path), NONE)
    84                    SOME _ => (SOME (PgipTypes.pgipurl_of_path path), NONE)
    85                  | NONE => (NONE, SOME fname)
    85                  | NONE => (NONE, SOME fname)
    86                end);
    86                end);
    87     in
    87     in
    88         { descr=descr, url=url, line=line, column=NONE, char=NONE, length=NONE }
    88         { descr=descr, url=url, line=line, column=NONE, char=NONE, length=NONE }