Commit bf4073af authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Make DeprecatedTag return tagdef hash.

parent d0d6cb0b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -15,9 +15,10 @@ module JsDuck::Tag
    end

    def parse(p)
      p.add_tag(@key)
      p.skip_horiz_white
      p.current_tag[:version] = p.match(/[0-9.]+/) if p.look(/[0-9]/)
      {
        :tagname => @key,
        :version => p.hw && p.match(/[0-9.]+/)
      }
    end

    def process_doc(tags)