summaryrefslogtreecommitdiff
path: root/tools/fake_ide.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fake_ide.ml')
-rw-r--r--tools/fake_ide.ml16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/fake_ide.ml b/tools/fake_ide.ml
index 22a36ede..7b688212 100644
--- a/tools/fake_ide.ml
+++ b/tools/fake_ide.ml
@@ -26,15 +26,15 @@ let eval_call (call:'a Ide_intf.call) =
match res with Interface.Fail _ -> exit 1 | _ -> ()
let commands =
- [ "INTERPRAWSILENT", (fun s -> eval_call (Ide_intf.interp (true,false,s)));
- "INTERPRAW", (fun s -> eval_call (Ide_intf.interp (true,true,s)));
- "INTERPSILENT", (fun s -> eval_call (Ide_intf.interp (false,false,s)));
- "INTERP", (fun s -> eval_call (Ide_intf.interp (false,true,s)));
+ [ "INTERPRAWSILENT", (fun s -> eval_call (Ide_intf.interp (0,true,false,s)));
+ "INTERPRAW", (fun s -> eval_call (Ide_intf.interp (0,true,true,s)));
+ "INTERPSILENT", (fun s -> eval_call (Ide_intf.interp (0,false,false,s)));
+ "INTERP", (fun s -> eval_call (Ide_intf.interp (0,false,true,s)));
"REWIND", (fun s -> eval_call (Ide_intf.rewind (int_of_string s)));
- "GOALS", (fun _ -> eval_call Ide_intf.goals);
- "HINTS", (fun _ -> eval_call Ide_intf.hints);
- "GETOPTIONS", (fun _ -> eval_call Ide_intf.get_options);
- "STATUS", (fun _ -> eval_call Ide_intf.status);
+ "GOALS", (fun _ -> eval_call (Ide_intf.goals ()));
+ "HINTS", (fun _ -> eval_call (Ide_intf.hints ()));
+ "GETOPTIONS", (fun _ -> eval_call (Ide_intf.get_options ()));
+ "STATUS", (fun _ -> eval_call (Ide_intf.status ()));
"INLOADPATH", (fun s -> eval_call (Ide_intf.inloadpath s));
"MKCASES", (fun s -> eval_call (Ide_intf.mkcases s));
"#", (fun _ -> raise Comment);