Keep the list of static parameters in Obc
This commit is contained in:
parent
aad8545055
commit
93fef027f0
2 changed files with 2 additions and 1 deletions
|
@ -405,7 +405,7 @@ let translate_node
|
|||
let resetm = {
|
||||
m_name = Mreset; m_inputs = []; m_outputs = [];
|
||||
m_locals = []; m_body = si } in
|
||||
{ cd_name = f; cd_mems = m;
|
||||
{ cd_name = f; cd_mems = m; cd_params = params;
|
||||
cd_objs = j; cd_methods = [stepm; resetm];
|
||||
cd_loc = loc }
|
||||
|
||||
|
|
|
@ -92,6 +92,7 @@ type class_def =
|
|||
{ cd_name : class_name;
|
||||
cd_mems : var_dec list;
|
||||
cd_objs : obj_dec list;
|
||||
cd_params : param list;
|
||||
cd_methods: method_def list;
|
||||
cd_loc : location }
|
||||
|
||||
|
|
Loading…
Reference in a new issue