diff --git a/lib/jsdoc/doclet.js b/lib/jsdoc/doclet.js index c9a04e77..c096b04f 100644 --- a/lib/jsdoc/doclet.js +++ b/lib/jsdoc/doclet.js @@ -278,7 +278,14 @@ exports.Doclet.prototype.setMeta = function(meta) { */ this.meta = {}; } - + + if (meta.lineno) { + /** + The line number of the code associated with this doclet. + @type number + */ + this.meta.lineno = meta.lineno; + } if (meta.range) { /** The positions of the first and last characters of the code associated with this doclet.