summaryrefslogtreecommitdiff
path: root/src/reporting.ml
diff options
context:
space:
mode:
authorAlasdair2021-03-05 16:52:35 +0000
committerAlasdair2021-03-05 17:13:07 +0000
commit212b16bd15ea39ae3b35efdce7cef549fe4f1657 (patch)
tree94a9bd3904ef46a5fb98df9f024ed5aebce141c4 /src/reporting.ml
parentace7b32fe420234575ad7564f64c76309e3a74b3 (diff)
Add more location information to IR
Diffstat (limited to 'src/reporting.ml')
-rw-r--r--src/reporting.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reporting.ml b/src/reporting.ml
index 603bc84f..b910de1e 100644
--- a/src/reporting.ml
+++ b/src/reporting.ml
@@ -126,7 +126,7 @@ let short_loc_to_string l =
| Some (p1, p2) ->
Printf.sprintf "%s %d:%d - %d:%d"
p1.pos_fname p1.pos_lnum (p1.pos_cnum - p1.pos_bol) p2.pos_lnum (p2.pos_cnum - p2.pos_bol)
-
+
let loc_to_coverage l =
match simp_loc l with
| None -> None