equal
deleted
inserted
replaced
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; |