diff options
| author | Gaëtan Gilbert | 2019-07-01 18:45:16 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-07-01 18:45:16 +0200 |
| commit | 47389d31c0aa6fafa1c696b1e6f06059751a8217 (patch) | |
| tree | fd1ec0f4fd05c1591b372684da1833d96ad02ed4 /ide | |
| parent | 82aa7ed1c929533f2b9e7acaa8264c5a81e7a45e (diff) | |
| parent | ac14add1ef27a3c650b825c8a567e0515d32d58d (diff) | |
Merge PR #10433: [vernac] Cleanup on interface of Vernacentries
Reviewed-by: SkySkimmer
Diffstat (limited to 'ide')
| -rw-r--r-- | ide/idetop.ml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ide/idetop.ml b/ide/idetop.ml index c38b8fa820..c6a8fdaa55 100644 --- a/ide/idetop.ml +++ b/ide/idetop.ml @@ -429,6 +429,11 @@ let quit = ref false (** Disabled *) let print_ast id = Xml_datatype.PCData "ERROR" +let idetop_make_cases iname = + let qualified_iname = Libnames.qualid_of_string iname in + let iref = Nametab.global_inductive qualified_iname in + ComInductive.make_cases iref + (** Grouping all call handlers together + error handling *) let eval_call c = let interruptible f x = @@ -449,7 +454,7 @@ let eval_call c = Interface.search = interruptible search; Interface.get_options = interruptible get_options; Interface.set_options = interruptible set_options; - Interface.mkcases = interruptible Vernacentries.make_cases; + Interface.mkcases = interruptible idetop_make_cases; Interface.quit = (fun () -> quit := true); Interface.init = interruptible init; Interface.about = interruptible about; |
