From 1f403c5e3e86549c6243e1d3390d15e67b9d2723 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 12 Jun 2015 12:01:40 -0400 Subject: [PATCH] Use `recoverable: true` option for doctrine --- streams/parse.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/streams/parse.js b/streams/parse.js index f248079..1130c2d 100644 --- a/streams/parse.js +++ b/streams/parse.js @@ -106,7 +106,9 @@ module.exports = function () { // have doctrine itself remove the comment asterisks from content unwrap: true, // enable parsing of optional parameters in brackets, JSDoc3 style - sloppy: true + sloppy: true, + // keep going whenever possible + recoverable: true }); parsedComment.context = {