diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index 6246782e9f..442b9f5d5b 100755 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -305,8 +305,6 @@ self => val msg = token2string(token) + " expected but " +token2string(in.token) + " found." syntaxErrorOrIncomplete(msg, true) - if (in.token == EOF) incompleteInputError(msg) - else syntaxError(in.offset, msg, false) if ((token == RPAREN || token == RBRACE || token == RBRACKET)) if (in.parenBalance(token) + assumedClosingParens(token) < 0) assumedClosingParens(token) += 1 |