equal
deleted
inserted
replaced
493 void *function_call_param_iterator_c::visit(function_invocation_c *symbol) { |
493 void *function_call_param_iterator_c::visit(function_invocation_c *symbol) { |
494 TRACE("function_invocation_c"); |
494 TRACE("function_invocation_c"); |
495 /* If the syntax parser is working correctly, exactly one of the |
495 /* If the syntax parser is working correctly, exactly one of the |
496 * following two symbols will be NULL, while the other is != NULL. |
496 * following two symbols will be NULL, while the other is != NULL. |
497 */ |
497 */ |
498 if (symbol-> formal_param_list != NULL) return symbol-> formal_param_list->accept(*this); |
498 if (symbol == (function_invocation_c *)f_call) { |
499 if (symbol->nonformal_param_list != NULL) return symbol->nonformal_param_list->accept(*this); |
499 if (symbol-> formal_param_list != NULL) return symbol-> formal_param_list->accept(*this); |
|
500 if (symbol->nonformal_param_list != NULL) return symbol->nonformal_param_list->accept(*this); |
|
501 } |
500 |
502 |
501 return NULL; |
503 return NULL; |
502 } |
504 } |
503 |
505 |
504 |
506 |