ignore SpreadElement nodes (#555)

This commit is contained in:
Jeff Williams 2015-02-27 16:06:05 -08:00
parent 96c8f6994d
commit 058cf91392

View File

@ -461,7 +461,6 @@ Visitor.prototype.makeSymbolFoundEvent = function(node, parser, filename) {
case Syntax.ImportSpecifier:
case Syntax.MethodDefinition:
case Syntax.ModuleDeclaration:
case Syntax.SpreadElement:
logger.warn('JSDoc does not currently handle %s nodes. Source file: %s, line %s',
node.type, filename, (node.loc && node.loc.start) ? node.loc.start.line : '??');