Skip to content

Commit c9efb79

Browse files
committed
Fixing binary compatibility issue with new protected method.
1 parent 186858e commit c9efb79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: shared/src/main/scala/scala/util/parsing/combinator/lexical/StdLexical.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class StdLexical extends Lexical with StdTokens {
4949
def identChar = letter | elem('_')
5050

5151
/** Parses the final quote of a string literal or fails if it is unterminated. */
52-
protected def stringEnd(quoteChar: Char, chars: List[Char]): Parser[Token] = {
52+
private def stringEnd(quoteChar: Char, chars: List[Char]): Parser[Token] = {
5353
{ elem(quoteChar) ^^^ StringLit(chars mkString "") } | err("unclosed string literal")
5454
}
5555

0 commit comments

Comments
 (0)