stage4/generate_c/generate_c_st.cc
changeset 1012 1f2af384fb1f
parent 1011 76175defb87b
child 1026 fe580c0c1911
--- a/stage4/generate_c/generate_c_st.cc	Sun May 08 20:01:15 2016 +0100
+++ b/stage4/generate_c/generate_c_st.cc	Wed May 11 18:41:45 2016 +0100
@@ -726,7 +726,8 @@
   symbol_c *parameter_assignment_list = NULL;
   if (NULL != symbol->   formal_param_list) parameter_assignment_list = symbol->   formal_param_list;
   if (NULL != symbol->nonformal_param_list) parameter_assignment_list = symbol->nonformal_param_list;
-  if (NULL == parameter_assignment_list) ERROR;
+  // NOTE-> We support the non-standard feature of POUS with no in, out and inout parameters, so this is no longer an internal error!
+  //if (NULL == parameter_assignment_list) ERROR;
 
   function_call_param_iterator_c function_call_param_iterator(symbol);