Skip to content
Snippets Groups Projects
Commit a4c3d888 authored by Pierre Loic Garoche's avatar Pierre Loic Garoche
Browse files

rev machines in emf

parent 1f868027
No related branches found
No related tags found
No related merge requests found
...@@ -547,7 +547,7 @@ let translate fmt basename prog machines = ...@@ -547,7 +547,7 @@ let translate fmt basename prog machines =
fprintf fmt "\"nodes\": @[<v 0>{@ "; fprintf fmt "\"nodes\": @[<v 0>{@ ";
(* Previous alternative: mapping normalized lustre to EMF: (* Previous alternative: mapping normalized lustre to EMF:
fprintf_list ~sep:",@ " pp_decl fmt prog; *) fprintf_list ~sep:",@ " pp_decl fmt prog; *)
pp_emf_list pp_machine fmt (List.rev machines); pp_emf_list pp_machine fmt machines;
fprintf fmt "}@]@ }"; fprintf fmt "}@]@ }";
fprintf fmt "@]@ }" fprintf fmt "@]@ }"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment