src/Pure/ML/ml_compiler.ML
changeset 64661 84aea854dc3c
parent 64660 ef85bb6491b3
child 67362 221612c942de
equal deleted inserted replaced
64660:ef85bb6491b3 64661:84aea854dc3c
    84 
    84 
    85     fun reported_entity_id def id loc =
    85     fun reported_entity_id def id loc =
    86       let
    86       let
    87         val pos = Exn_Properties.position_of_polyml_location loc;
    87         val pos = Exn_Properties.position_of_polyml_location loc;
    88       in
    88       in
    89         is_reported pos ?
    89         (is_reported pos andalso id <> 0) ?
    90           let
    90           let
    91             fun markup () =
    91             fun markup () =
    92               (Markup.entityN, [(if def then Markup.defN else Markup.refN, Value.print_int id)]);
    92               (Markup.entityN, [(if def then Markup.defN else Markup.refN, Value.print_int id)]);
    93           in cons (pos, markup, fn () => "") end
    93           in cons (pos, markup, fn () => "") end
    94       end;
    94       end;