We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b140a commit cc2c7c5Copy full SHA for cc2c7c5
shared/src/test/scala/scala/util/parsing/combinator/RegexParsersTest.scala
@@ -169,7 +169,7 @@ class RegexParsersTest {
169
@Test
170
def ifElseTest: Unit = {
171
object parser extends RegexParsers {
172
- def top: Parser[List[Unit]] = ifelse*
+ def top: Parser[List[Unit]] = rep(ifelse)
173
def ifelse: Parser[Unit] = "IF" ~ condition ~ "THEN" ~ "1"~ "END" ^^ { _ => }
174
def condition: Parser[String] = "TRUE" | "FALSE"
175
}
0 commit comments