8194892: add compiler support for local-variable syntax for lambda parameters

Reviewed-by: mcimadamore
This commit is contained in:
Vicente Romero 2018-02-20 11:45:16 -05:00
parent c37e80c84f
commit 2591c21c01
15 changed files with 418 additions and 76 deletions

View file

@ -104,7 +104,7 @@ class TrialParser extends JavacParser {
while (token.kind != EOF) {
if (token.pos > 0 && token.pos <= endPosTable.errorEndPos) {
// error recovery
skip(true, false, false, false);
skip(true, false, false, false, false);
if (token.kind == EOF) {
break;
}