We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 186858e commit c9efb79Copy full SHA for c9efb79
shared/src/main/scala/scala/util/parsing/combinator/lexical/StdLexical.scala
@@ -49,7 +49,7 @@ class StdLexical extends Lexical with StdTokens {
49
def identChar = letter | elem('_')
50
51
/** 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] = {
+ private def stringEnd(quoteChar: Char, chars: List[Char]): Parser[Token] = {
53
{ elem(quoteChar) ^^^ StringLit(chars mkString "") } | err("unclosed string literal")
54
}
55
0 commit comments