Skip to content

Commit

Permalink
fixed files form Closure #68
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 93078d6 commit 45d2263
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -865,9 +865,9 @@ boolean parse() {
}
break;
}
}

token = eatTokensUntilEOL();
}
continue retry;
}
}
Expand Down Expand Up @@ -1706,6 +1706,7 @@ private Node parseBasicTypeExpression(JsDocToken token) {
}
}

restoreLookAhead(token);
return reportGenericTypeSyntaxWarning();
}

Expand Down Expand Up @@ -1758,6 +1759,7 @@ private Node parseFunctionType(JsDocToken token) {
// NOTE(nicksantos): We're not implementing generics at the moment, so
// just throw out TypeParameters.
if (token != JsDocToken.LP) {
restoreLookAhead(token);
return reportTypeSyntaxWarning("msg.jsdoc.missing.lp");
}

Expand Down

0 comments on commit 45d2263

Please sign in to comment.