Commit 63ff8736 authored by Bruno Guillaume's avatar Bruno Guillaume

version 1.0.1

Fix invalid JSON output in “grew grep”
parent f007b811
## 1.0.1 (2018/09/16)
* Fix invalid JSON output in “grew grep”
# 1.0.0 (2018/09/10)
* Add parseme handling of column 11 (MWE/NE)
* Fix https://gitlab.inria.fr/grew/grew/issues/5
......
......@@ -130,8 +130,9 @@ let transform () =
| Some f -> Some ("dep_file", `String f)
)
] in
(CCList.filter_map CCFun.id opt_list) @ acc2
let json = `Assoc (CCList.filter_map (fun x -> x) opt_list) in
json :: acc2
) acc matchings
) [] graph_array in
Printf.printf "%s\n" (Yojson.Basic.pretty_to_string (`Assoc final_json))
Printf.printf "%s\n" (Yojson.pretty_to_string (`List final_json))
) ()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment