    # File lib/yard/docstring_parser.rb, line 185
        def create_tag(tag_name, tag_buf = '')
          if tag_buf =~ /\A\s*(?:(\S+)\s+)?\(\s*see\s+(\S+)\s*\)\s*\Z/
            return create_ref_tag(tag_name, $1, $2)
          end

          if library.has_tag?(tag_name)
            @tags += [library.tag_create(tag_name, tag_buf)].flatten
          else
            log.warn "Unknown tag @#{tag_name}" +
              (object ? " in file `#{object.file}` near line #{object.line}" : "")
          end
        rescue Tags::TagFormatError
          log.warn "Invalid tag format for @#{tag_name}" +
            (object ? " in file `#{object.file}` near line #{object.line}" : "")
        end