equal
deleted
inserted
replaced
724 DECLARE_PARAM_LIST() |
724 DECLARE_PARAM_LIST() |
725 |
725 |
726 symbol_c *parameter_assignment_list = NULL; |
726 symbol_c *parameter_assignment_list = NULL; |
727 if (NULL != symbol-> formal_param_list) parameter_assignment_list = symbol-> formal_param_list; |
727 if (NULL != symbol-> formal_param_list) parameter_assignment_list = symbol-> formal_param_list; |
728 if (NULL != symbol->nonformal_param_list) parameter_assignment_list = symbol->nonformal_param_list; |
728 if (NULL != symbol->nonformal_param_list) parameter_assignment_list = symbol->nonformal_param_list; |
729 if (NULL == parameter_assignment_list) ERROR; |
729 // NOTE-> We support the non-standard feature of POUS with no in, out and inout parameters, so this is no longer an internal error! |
|
730 //if (NULL == parameter_assignment_list) ERROR; |
730 |
731 |
731 function_call_param_iterator_c function_call_param_iterator(symbol); |
732 function_call_param_iterator_c function_call_param_iterator(symbol); |
732 |
733 |
733 function_declaration_c *f_decl = (function_declaration_c *)symbol->called_function_declaration; |
734 function_declaration_c *f_decl = (function_declaration_c *)symbol->called_function_declaration; |
734 if (f_decl == NULL) ERROR; |
735 if (f_decl == NULL) ERROR; |