Skip to content
Snippets Groups Projects
Commit 68601cf5 authored by THIRIOUX Xavier's avatar THIRIOUX Xavier
Browse files

bug correction: each var_decl must be unique and not shared as a global var

parent c5d45c13
No related branches found
No related tags found
No related merge requests found
......@@ -365,7 +365,7 @@ struct
LustreSpec.Node {LustreSpec.node_id = "principal_loop";
node_type = Types.new_var ();
node_clock = Clocks.new_var true;
node_inputs = [event_var];
node_inputs = List.map Corelang.copy_var_decl [event_var];
node_outputs = state_vars_to_vdecl_list ~prefix:"sout_" Vars.state_vars;
node_locals = []; (* TODO: add global vars *)
node_gencalls = [];
......
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