progs/parser-combinators/comb1.sc
changeset 974 0cb4bf2469d1
parent 972 ebb4a40d9bae
--- a/progs/parser-combinators/comb1.sc	Sat Nov 09 06:31:45 2024 +0000
+++ b/progs/parser-combinators/comb1.sc	Fri Nov 22 12:42:07 2024 +0000
@@ -179,7 +179,7 @@
 lazy val F: Parser[String, Int] = {
   (p"(" ~ E ~ p")").map{ case ((_, y), _) => y } || NumParserInt }
 
-println(E.parse_all("2*2*2"))
+println(E.parse_all("2 * 2 * 2"))
 println(E.parse_all("1+3+4"))
 println(E.parse("1+3+4"))
 println(E.parse_all("4*2+3"))