Skip to content

Commit

Permalink
Update src/jdk.compiler/share/classes/com/sun/tools/javac/parser/Java…
Browse files Browse the repository at this point in the history
…cParser.java

Co-authored-by: Maurizio Cimadamore <54672762+mcimadamore@users.noreply.github.com>
  • Loading branch information
lahodaj and mcimadamore authored Aug 20, 2024
1 parent cbe7d0d commit 635eb9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5079,7 +5079,7 @@ protected JCTree methodDeclaratorRest(int pos,
* the code as a block.
*
* The estimate is as follows:
* - tokens are skipped until member, statement of identifier is found,
* - tokens are skipped until member, statement or identifier is found,
* - then, if there is a left brace, parse as a block,
* - otherwise, if the head was broken, do not parse as a block,
* - otherwise, look at the next token and:
Expand Down

0 comments on commit 635eb9e

Please sign in to comment.