diff --git a/lib/jsdoc/doclet.js b/lib/jsdoc/doclet.js index c9a04e77..4d6f8f5a 100644 --- a/lib/jsdoc/doclet.js +++ b/lib/jsdoc/doclet.js @@ -293,6 +293,11 @@ exports.Doclet.prototype.setMeta = function(meta) { @type string */ this.meta.filename = path.basename(meta.filename); + /** + The line number of the code associated with this doclet. + @type number + */ + this.meta.lineno = meta.lineno; var pathname = path.dirname(meta.filename); if (pathname && pathname !== '.') {