Loading lib/jsduck/doc/standard_tag_parser.rb +2 −2 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ module JsDuck optional = nil end match(/\}/) or warn("@#{tagname} tag syntax: '}' expected") match(/\}/) or warn("@#{@tagname} tag syntax: '}' expected") return {:type => name, :optional => optional} end Loading @@ -75,7 +75,7 @@ module JsDuck hw tag[:default] = default_value end hw.match(/\]/) or warn("@#{tagname} tag syntax: ']' expected") hw.match(/\]/) or warn("@#{@tagname} tag syntax: ']' expected") tag[:optional] = true else tag[:name] = hw.ident_chain Loading Loading
lib/jsduck/doc/standard_tag_parser.rb +2 −2 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ module JsDuck optional = nil end match(/\}/) or warn("@#{tagname} tag syntax: '}' expected") match(/\}/) or warn("@#{@tagname} tag syntax: '}' expected") return {:type => name, :optional => optional} end Loading @@ -75,7 +75,7 @@ module JsDuck hw tag[:default] = default_value end hw.match(/\]/) or warn("@#{tagname} tag syntax: ']' expected") hw.match(/\]/) or warn("@#{@tagname} tag syntax: ']' expected") tag[:optional] = true else tag[:name] = hw.ident_chain Loading