aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/extraction/json.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-10-17 11:58:21 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-10-17 11:58:21 +0200
commite5f8038f82c8a444afcfb7333a4c690b005fcff6 (patch)
tree51e7e5ac47aba0ff26d1d6ed3da84f1d6a1183df /plugins/extraction/json.ml
parent67c713cab69a54f5347c987aa0076aeddd1bceef (diff)
Fix bug #5023: JSON extraction doesn't generate "for xxx".
Diffstat (limited to 'plugins/extraction/json.ml')
-rw-r--r--plugins/extraction/json.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/extraction/json.ml b/plugins/extraction/json.ml
index 8874afef3..e43c47d05 100644
--- a/plugins/extraction/json.ml
+++ b/plugins/extraction/json.ml
@@ -142,7 +142,8 @@ let rec json_expr env = function
("what", json_str "fix:item");
("name", json_id fi);
("body", json_function env' ti)
- ]) (Array.map2 (fun a b -> a,b) ids' defs)))
+ ]) (Array.map2 (fun a b -> a,b) ids' defs)));
+ ("for", json_int i);
]
| MLexn s -> json_dict [
("what", json_str "expr:exception");