diff options
| author | Alasdair | 2021-03-05 16:52:35 +0000 |
|---|---|---|
| committer | Alasdair | 2021-03-05 17:13:07 +0000 |
| commit | 212b16bd15ea39ae3b35efdce7cef549fe4f1657 (patch) | |
| tree | 94a9bd3904ef46a5fb98df9f024ed5aebce141c4 /src/reporting.ml | |
| parent | ace7b32fe420234575ad7564f64c76309e3a74b3 (diff) | |
Add more location information to IR
Diffstat (limited to 'src/reporting.ml')
| -rw-r--r-- | src/reporting.ml | 2 |
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 |
