stage4/generate_c/generate_c_inlinefcall.cc
changeset 1012 1f2af384fb1f
parent 1003 64c9fe787f12
child 1018 49c4edf76e63
--- a/stage4/generate_c/generate_c_inlinefcall.cc	Sun May 08 20:01:15 2016 +0100
+++ b/stage4/generate_c/generate_c_inlinefcall.cc	Wed May 11 18:41:45 2016 +0100
@@ -764,7 +764,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);