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

Issue with clocked expressions. Now handled throught a local branch, ie. a...

Issue with clocked expressions. Now handled throught a local branch, ie. a single action block in Simulink
parent 103f6f60
No related branches found
No related tags found
No related merge requests found
......@@ -337,17 +337,10 @@ let rec pp_emf_instr m fmt i =
| MComment _
-> Format.eprintf "unhandled comment in EMF@.@?"; assert false
(* not available for EMF output *)
in
match Corelang.get_instr_desc i with
| MBranch (_, [_, single_branch]) -> (
pp_emf_instrs m fmt single_branch (* Single branch hack treated as regular instrs *)
)
| _ -> (
fprintf fmt "@[ @[<v 2>\"%a\": {@ " get_instr_id i;
fprintf fmt "%a" pp_content i;
fprintf fmt "@]@]@ }"
)
and pp_emf_instrs m fmt instrs = fprintf_list ~sep:",@ " (pp_emf_instr m) fmt instrs
let pp_machine fmt m =
......
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