make_prefix Function

private function make_prefix(path, line) result(p)

Build a path:line: error prefix.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path
integer, intent(in) :: line

Return Value character(len=:), allocatable


Calls

proc~~make_prefix~~CallsGraph proc~make_prefix make_prefix proc~fmt_int fmt_int proc~make_prefix->proc~fmt_int

Called by

proc~~make_prefix~~CalledByGraph proc~make_prefix make_prefix proc~apply_one_pair apply_one_pair proc~apply_one_pair->proc~make_prefix proc~check_unsupported check_unsupported proc~check_unsupported->proc~make_prefix proc~collect_tokens collect_tokens proc~collect_tokens->proc~make_prefix proc~collect_tokens->proc~check_unsupported proc~parse_from_lines parse_from_lines proc~parse_from_lines->proc~make_prefix proc~dispatch_group dispatch_group proc~parse_from_lines->proc~dispatch_group proc~parse_file parse_file proc~parse_file->proc~parse_from_lines proc~parse_group_body parse_group_body proc~parse_group_body->proc~apply_one_pair proc~parse_group_body->proc~collect_tokens proc~schema_parse_lines nml_schema_t%schema_parse_lines proc~schema_parse_lines->proc~parse_from_lines proc~dispatch_group->proc~parse_group_body proc~read_config_from_string_impl read_config_from_string_impl proc~read_config_from_string_impl->proc~schema_parse_lines proc~schema_parse nml_schema_t%schema_parse proc~schema_parse->proc~parse_file proc~read_config_from_string read_config_from_string proc~read_config_from_string->proc~read_config_from_string_impl proc~read_config_impl read_config_impl proc~read_config_impl->proc~schema_parse proc~build_pending_handle build_pending_handle proc~build_pending_handle->proc~read_config_from_string proc~read_config read_config proc~read_config->proc~read_config_impl

Source Code

   function make_prefix(path, line) result(p)
      !! Build a `path:line: ` error prefix.
      character(len=*), intent(in) :: path
      integer, intent(in) :: line
      character(len=:), allocatable :: p
      p = path//":"//fmt_int(line)//": "
   end function make_prefix