# File lib/yard/handlers/c/base.rb, line 68
        def ensure_variable_defined!(var, max_retries = 1)
          retries, object = 0, nil

          loop do
            object = namespace_for_variable(var)
            break unless object.is_a?(Proxy)

            if retries <= max_retries
              log.debug "Missing namespace variable #{var} in file `#{parser.file}', moving it to the back of the line."
              parser.parse_remaining_files
            else
              raise NamespaceMissingError, object
            end
            retries += 1
          end

          object
        end