Skip to content

Commit f8f271c

Browse files
authored
Update src/rocq_elpi_vernacular.ml
1 parent f189323 commit f8f271c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/rocq_elpi_vernacular.ml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,6 @@ let run_in_program ~loc ?(program = current_program ()) ?(st_setup=fun _ x -> x)
251251
P.accumulate_file_to_program ~loc ~program ~what ~file
252252
end
253253

254-
(* match what with
255-
| Code -> P.units_from_file ~elpi ~loc ~base s
256-
| Signature -> P.units_signature_from_file ~elpi ~loc ~base s in
257-
if is_db then
258-
P.accumulate_to_db program units [] ~scope
259-
else begin
260-
warn_scope_not_regular ~loc scope;
261-
P.accumulate ~loc program (List.map (fun u -> File { fname = Rocq_elpi_programs.name_of_cunit u; fast = u}) units)
262-
end *)
263254

264255
let accumulate_elpifile ~loc ~program ~scope ~what ast =
265256
if P.db_exists program then

0 commit comments

Comments
 (0)