Skip to content

Commit 1fb27e6

Browse files
committed
expand #include for -loc
1 parent d40d6e4 commit 1fb27e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

main/CLI.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ let actions () = [
215215
"-loc", " <file>",
216216
Arg_.mk_action_1_arg (fun file ->
217217
let orig = Web.parse (Fpath.v file) in
218+
let orig = Web.expand_sharp_include orig in
218219
let stats : Stat.t = Stat.stat_of_web orig in
219220
Logs.app (fun m -> m "LOC = %d (LOE = %d)" stats.loc stats.loe);
220221
);

0 commit comments

Comments
 (0)