mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8194892: add compiler support for local-variable syntax for lambda parameters
Reviewed-by: mcimadamore
This commit is contained in:
parent
c37e80c84f
commit
2591c21c01
15 changed files with 418 additions and 76 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue