absyntax_utils/function_call_iterator.cc
changeset 958 7474d2cd1d6e
parent 596 4efb11e44065
equal deleted inserted replaced
957:4489afa5b1c5 958:7474d2cd1d6e
    87   start_symbol->accept(*this);
    87   start_symbol->accept(*this);
    88   return current_finvocation;
    88   return current_finvocation;
    89 }
    89 }
    90 
    90 
    91 /* Returns the name of the currently referenced function invocation */
    91 /* Returns the name of the currently referenced function invocation */
    92 identifier_c *function_call_iterator_c::fname(void) {
    92 token_c *function_call_iterator_c::fname(void) {
    93   identifier_c *identifier = dynamic_cast<identifier_c *>(current_fcall_name);
    93   token_c *fname_sym = dynamic_cast<token_c *>(current_fcall_name);
    94   if (identifier == NULL) ERROR;
    94   if (fname_sym == NULL) ERROR;
    95   return identifier;
    95   return fname_sym;
    96 }
    96 }
    97 
    97 
    98 
    98 
    99 /***************************************/
    99 /***************************************/
   100 /* B.3 - Language ST (Structured Text) */
   100 /* B.3 - Language ST (Structured Text) */