Skip to content

Commit 04c6251

Browse files
committed
Updated coq_cw.ml
1 parent cfd4784 commit 04c6251

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coq_cw.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ let locate_constant r =
9292
try
9393
let gr = Smartlocate.locate_global_with_alias r in
9494
match gr with
95-
| Globnames.ConstRef cst -> cst
95+
| Names.GlobRef.ConstRef cst -> cst
9696
| _ -> CErrors.user_err (str "A constant is expected: " ++ Printer.pr_global gr)
9797
with Not_found -> CErrors.user_err (str "Not found: " ++ Libnames.pr_qualid r)
9898

src/g_coq_cw.mlg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ VERNAC COMMAND EXTEND CWFileNegMatch CLASSIFIED AS QUERY
6666
}
6767
END
6868

69-
VERNAC COMMAND EXTEND CWCompileAndRun CLASSIFIED AS SIDEFF
69+
VERNAC COMMAND EXTEND CWCompileAndRun CLASSIFIED AS QUERY
7070
| [ "CWCompileAndRun" string_list(files) "Options" string_opt(options) "Driver" string(driver) ] -> {
7171
Coq_cw.compile_and_run files ?options driver
7272
}

0 commit comments

Comments
 (0)