equal
deleted
inserted
replaced
762 DECLARE_PARAM_LIST() |
762 DECLARE_PARAM_LIST() |
763 |
763 |
764 symbol_c *parameter_assignment_list = NULL; |
764 symbol_c *parameter_assignment_list = NULL; |
765 if (NULL != symbol-> formal_param_list) parameter_assignment_list = symbol-> formal_param_list; |
765 if (NULL != symbol-> formal_param_list) parameter_assignment_list = symbol-> formal_param_list; |
766 if (NULL != symbol->nonformal_param_list) parameter_assignment_list = symbol->nonformal_param_list; |
766 if (NULL != symbol->nonformal_param_list) parameter_assignment_list = symbol->nonformal_param_list; |
767 if (NULL == parameter_assignment_list) ERROR; |
767 // NOTE-> We support the non-standard feature of POUS with no in, out and inout parameters, so this is no longer an internal error! |
|
768 // if (NULL == parameter_assignment_list) ERROR; |
768 |
769 |
769 function_call_param_iterator_c function_call_param_iterator(symbol); |
770 function_call_param_iterator_c function_call_param_iterator(symbol); |
770 |
771 |
771 function_declaration_c *f_decl = (function_declaration_c *)symbol->called_function_declaration; |
772 function_declaration_c *f_decl = (function_declaration_c *)symbol->called_function_declaration; |
772 if (f_decl == NULL) ERROR; |
773 if (f_decl == NULL) ERROR; |