Skip to content

Commit 9c3d854

Browse files
committed
fix loc printing
1 parent 0a365a3 commit 9c3d854

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HB/common/log.elpi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ pred log.private.log-tactic i:term.
266266

267267
with-logging P :- (get-option "elpi.hb.log" _, NICE = tt ; get-option "elpi.hb.log.raw" _, NICE = ff), !,
268268
get-option "elpi.loc" Loc,
269-
loc.fields Loc FILE _ _ _ _,
270-
std.any->string Loc LocStr,
269+
loc.fields Loc FILE Start Stop _ _,
270+
LocStr is "characters " ^ {std.any->string Start} ^ "-" ^ {std.any->string Stop},
271271
FILENAME is FILE ^ ".hb",
272272
open_append FILENAME OC1,
273273
std.string.concat "\n" ["","HIERARCHY BUILDER PATCH v1",LocStr,""] PATCH1,

0 commit comments

Comments
 (0)