Skip to content

Commit 125831b

Browse files
committed
Address reviewer comments
1 parent f0c2a90 commit 125831b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dotty/tools/dotc/parsing/JavaParsers.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ object JavaParsers {
145145
// ------------- general parsing ---------------------------
146146

147147
/** skip parent or brace enclosed sequence of things */
148-
def skipAhead(openBraces: Int = 0): Unit = {
148+
def skipAhead(): Unit = {
149149
var nparens = 0
150-
var nbraces = openBraces
150+
var nbraces = 0
151151
do {
152152
in.token match {
153153
case LPAREN =>
File renamed without changes.

0 commit comments

Comments
 (0)