aboutsummaryrefslogtreecommitdiff
path: root/ide/ide_slave.ml
diff options
context:
space:
mode:
authorMaxime Dénès2017-06-20 10:47:40 +0200
committerMaxime Dénès2017-06-20 10:47:40 +0200
commit9c5378131c90c7fb819743d8e79c226492a0331f (patch)
tree444f14b11613ebd90d7a9d154cd484f6624b6753 /ide/ide_slave.ml
parent6cae6006a95ca7587180a1293ab41d48877e79ea (diff)
parentd8874dd855d748aaaf504890487ab15ffd7a677d (diff)
Merge PR#774: [ide] Add route_id parameter to query call.
Diffstat (limited to 'ide/ide_slave.ml')
-rw-r--r--ide/ide_slave.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ide/ide_slave.ml b/ide/ide_slave.ml
index 6298d9f093..a07a04cbba 100644
--- a/ide/ide_slave.ml
+++ b/ide/ide_slave.ml
@@ -109,9 +109,9 @@ let edit_at id =
* as not to break the core protocol for this minor change, but it should
* be removed in the next version of the protocol.
*)
-let query (s,id) =
+let query (route, (s,id)) =
let pa = Pcoq.Gram.parsable (Stream.of_string s) in
- Stm.query ~at:id pa; ""
+ Stm.query ~at:id ~route pa
let annotate phrase =
let (loc, ast) =