| 3656 | } |
| 3657 | |
| 3658 | static void argument_list_print( struct arg_list * args, int32_t num_args ) |
| 3659 | { |
| 3660 | if ( args ) |
| 3661 | { |
| 3662 | int32_t i; |
| 3663 | for ( i = 0; i < num_args; ++i ) |
| 3664 | { |
| 3665 | int32_t j; |
| 3666 | if ( i ) out_printf( " : " ); |
| 3667 | for ( j = 0; j < args[ i ].size; ++j ) |
| 3668 | { |
| 3669 | struct argument * formal_arg = &args[ i ].args[ j ]; |
| 3670 | if ( j ) out_printf( " " ); |
| 3671 | if ( formal_arg->type_name ) |
| 3672 | out_printf( "%s ", object_str( formal_arg->type_name ) ); |
| 3673 | out_printf( "%s", object_str( formal_arg->arg_name ) ); |
| 3674 | switch ( formal_arg->flags ) |
| 3675 | { |
| 3676 | case ARG_OPTIONAL: out_printf( " ?" ); break; |
| 3677 | case ARG_PLUS: out_printf( " +" ); break; |
| 3678 | case ARG_STAR: out_printf( " *" ); break; |
| 3679 | } |
| 3680 | } |
| 3681 | } |
| 3682 | } |
| 3683 | } |
| 3684 | |
| 3685 | |
| 3686 | struct arg_list * argument_list_bind_variables( struct arg_list * formal, |
no test coverage detected